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
How to do a HTTPS post on ESP8266 #5975
Comments
I use following code (simplified):
|
if you get an 401 error, you get a response from the server. SSL HTTP connection worked, only |
I have to say, I am very confused with examples I see. Here are a few confusing answers:
For me the main problem right now is to understand, how to correctly use current libraries. |
This is a "how do I..." type question. Closing. |
devyte, yes is a quesrtion "how do I...". This site is for THAT questions. |
@jabernalv This is an issue tracker, meant for tracking ussues in the core hosted in the repo. It is NOT for "how do I..." type questions or general help requests. Please see issue POLICY doc and ISSUE_TEMPLATE instructions for more details. |
@devyte Because of people like you this world is boring. You look like a lawyer, programmers are willing to help not follow absurd protocols. |
I am an Engineer, and I volunteer my free time to develop and maintain the core in this repository. In agreement with the repo owner when I was invited to be maintainer, I established a repo POLICY, and it has served well: the number of open issues has dropped from 1000+ when I arrived to 270 today, and is still on a downwards trend. |
I am trying to do a HTTPS post on ESP8266. It works in Postman where it has the following:
POST https_//api.dgs.com/ccs-int/v1/aaplication/json
Headers:
Content-Type: application/json
Authorization: xxxxxxx
Environment: digitalexploration
But I keep getting: 'HTTP/1.1 401 Unauthorized'.
Can someone please help me with how to build up the headers correctly in the HTTPS POST? And maybe also give a link to some documentation? I cant seem to find any...
My code is:
The text was updated successfully, but these errors were encountered: