GET and POST requests (HTTP) from the ESP8266 in AP Mode
Posted: Wed Jun 29, 2016 2:36 am
HI,
I've been working with the ESP8266 module and programming it through the Arduino IDE. Ive worked with a lot of hardware, but am new to transmission protocols and the like. I've been trying to write a program with HTTP POST and GET requests while running the ESP in an accesspoint mode (as a webserver). I am able to configure the ESP as a hotspot and connect to the hotspot via my laptop. I now need to send GET requests and respond to POST requests via the ESP IP address. I am able to print and read strings from the page, but am unable to process HTTP requests. I was also unable to find any example code for this.
Any help with this would be greatly appreciated. I basically need to GET and POST JSON objects (I can create the objects) using the ESP on AP mode to it's default IP.
I've been working with the ESP8266 module and programming it through the Arduino IDE. Ive worked with a lot of hardware, but am new to transmission protocols and the like. I've been trying to write a program with HTTP POST and GET requests while running the ESP in an accesspoint mode (as a webserver). I am able to configure the ESP as a hotspot and connect to the hotspot via my laptop. I now need to send GET requests and respond to POST requests via the ESP IP address. I am able to print and read strings from the page, but am unable to process HTTP requests. I was also unable to find any example code for this.
Any help with this would be greatly appreciated. I basically need to GET and POST JSON objects (I can create the objects) using the ESP on AP mode to it's default IP.