I have been searching and read multiple threads on the HTTP Client but I can’t seem to locate something definitive on if it is currently working or a solid example. I will need basic auth as well if anyone has a good example. I’m hitting a local device (working on a mac based discovery service) and it will return XML data that will be parsed out. Just having a hard time finding solid examples of basic web get and post. Any help would be great, thanks.
Isn’t it just a header? Ive had it working for ages on my doorbell to connect to XBMC, runs a script to display a video from my front door camera in the bottom right of the screen.
Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=
dXNlcm5hbWU6cGFzc3dvcmQ= is username:password base 64 encoded
good website for converting here:
True on the auth part. I see so many threads about issues with the HTTPClient and stop/flush when to use it etc so was hoping to see someone’s known good HTTPClient implementation. I’ll keep digging and get there eventually! Thanks for encode link I have my auth generated now just need to replicate the other parts of the header.