ITEADLIB_Arduino_WeeESP8266 | An easy-to-use Arduino ESP8266 library besed on AT firmware
kandi X-RAY | ITEADLIB_Arduino_WeeESP8266 Summary
kandi X-RAY | ITEADLIB_Arduino_WeeESP8266 Summary
An easy-to-use Arduino ESP8266 library besed on AT firmware.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of ITEADLIB_Arduino_WeeESP8266
ITEADLIB_Arduino_WeeESP8266 Key Features
ITEADLIB_Arduino_WeeESP8266 Examples and Code Snippets
Community Discussions
Trending Discussions on ITEADLIB_Arduino_WeeESP8266
QUESTION
I am trying to send data from an arduino to a web server (LAMP) using the ESP8266 module, when I do a POST to a local network server the server receives the data and returns 200, however, when I post to an external server (Hosting or google cloud) it registers error 400 in the Apache log and returns nothing, but when I do the same type of request by Postman everything is fine, because of this I do not know if it is my fault when mounting or executing the request or if Is some block on the external servers because the http server in my network works.
I'm using this lib to work with ESP: https://github.com/itead/ITEADLIB_Arduino_WeeESP8266
This is the request string:
...ANSWER
Answered 2017-Jun-23 at 22:27I found the problem, when I concatenated the strings that make up the request I was doing line breaks with \n, I switched to \r\n and it worked! The amount of bytes really is with error, I am seeing to correct, but the good thing is that now the request is right.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install ITEADLIB_Arduino_WeeESP8266
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page