Hello,
I am using HL7800-M.4.4.6.0 and testing at+httpget command. I found it always sends out the authorization header even when it is not set.
at+khttpcfg=1,"http://mytestsite.com"
at+khttpget=1,"/api/action.php?x=1",1
It says success next, +KHTTP_IND: 1,3,184,200,“OK” but here’s the headers the server receives:
[host] => mytestsite.com
[Authorization] => Basic Og=
I even tried
at+khttpcfg=1,"http://mytestsite.com",80,0,"","",1
to make sure the http auth user and password were blank strings. The module still sends the Authorization header to the server, and value is Og= which is means blank.
Is there any way I can prevent khttpget from sending authorization header? I want to save data. I can use ktcpsnd but i like khttpget better.