Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs unclear on how to basis auth #135

Open
geetee24 opened this issue Jun 10, 2022 · 0 comments
Open

docs unclear on how to basis auth #135

geetee24 opened this issue Jun 10, 2022 · 0 comments
Labels
topic: documentation Related to documentation for the project type: imperfection Perceived defect in any part of project

Comments

@geetee24
Copy link

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?

@per1234 per1234 added type: imperfection Perceived defect in any part of project topic: documentation Related to documentation for the project labels Jun 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: documentation Related to documentation for the project type: imperfection Perceived defect in any part of project
Projects
None yet
Development

No branches or pull requests

2 participants