docs unclear on how to basis auth #135
Labels
topic: documentation
Related to documentation for the project
type: imperfection
Perceived defect in any part of project
My code
http.connectionKeepAlive();
http.beginRequest();
*piRetCode = http.get( strPath );
http.sendBasicAuth ( "user", "pw" );
http.sendHeader( HTTP_HEADER_CONNECTION, "keep-alive" );
http.sendHeader( "Cache-Control", "max-age=0" );
http.sendHeader( "Accept", "application/json" );
http.endRequest();
but my server responds with a timeout 401....
is my code correct?
The text was updated successfully, but these errors were encountered: