Timeline for PUT request: PHP code to Arduino HTTPClient
Current License: CC BY-SA 4.0
11 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jul 3, 2019 at 6:48 | vote | accept | Dani | ||
| Jun 13, 2019 at 12:22 | answer | added | Dani | timeline score: 2 | |
| Jun 13, 2019 at 7:34 | comment | added | Dani | @esoterik the acount_name is same in the code just change in the post description. Now I have edited it | |
| Jun 13, 2019 at 7:33 | comment | added | Dani | @esoterik I'm getting 403 response code from the server and the error message shown in post | |
| Jun 13, 2019 at 7:32 | comment | added | Dani | @Juraj I need custom header like given in Arduino code 'addHeader'. It's ok to send these headers. should I skip Content-length header? | |
| Jun 13, 2019 at 7:28 | history | edited | Dani | CC BY-SA 4.0 |
added 5 characters in body
|
| Jun 13, 2019 at 2:28 | comment | added | esoterik | the first code uses 'SharedKey mikeiot,' the second code uses 'SharedKey account_name:' could this be the problem? You are also hard coding the content-length in the second code, could you be sending an incorrect amount? | |
| Jun 13, 2019 at 2:25 | comment | added | esoterik | It looks like that error message is coming from the web-service; seems like this might be more debugging the webservice, than arudino. What status code are you getting? | |
| Jun 12, 2019 at 20:10 | comment | added | Juraj♦ |
the http.PUT(d); adds the Content-length header, Host header, User-Agent header, Accept-Encoding header and Connection header. Is it OK for the SharedKey authorization?
|
|
| Jun 12, 2019 at 19:50 | review | First posts | |||
| Jun 12, 2019 at 20:27 | |||||
| Jun 12, 2019 at 19:44 | history | asked | Dani | CC BY-SA 4.0 |