Search found 1 match

by lesher
Wed Dec 19, 2018 7:54 pm
Forum: ESP-IDF
Topic: HTTP Authentication fails when using config with username, password entry
Replies: 8
Views: 15131

Re: HTTP Authentication fails when using config with username, password entry

I'm having trouble with this as well. Just adding username and password to the config does not add header "Authorization: Basic <base64_enc(user:pass)>" I tried adding the header manually, as shown in the code below. The request header looks okay, but I'm still getting the same 401 error. Interestin...