Open geetee24 opened 2 years ago
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?
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?