Hi, I’m looking for some help formatting a POST request to Scriptr. I am trying to run using an ESP8266 and eventually ESP32 under the Arduino IDE. I’m good with coding, but have almost no experience with formatting POST requests. If I can get a valid sample, I can take it from there. What I’m sending currently is (line breaks in this document are just there for readability – the \r\n characters are what’s actually sent.
POST /HelloWorld/ HTTP/1.1\r\n
I connect to api.scriptrapps.io on port 80 and what I’m getting back from sending the above request is an error code returned that says the bearer token is missing in the request.
Can you tell me what I have formatted incorrectly?
Thanks, Ira –
Marked as spam
Help with POST request formatting for sending “bearer” token
« Back to full topics list