-->
Page 1 of 1

Handling multiple arguments in ESP8266WebServer

PostPosted: Thu Feb 18, 2016 5:54 am
by lovelesh
Hi Everyone,

I am trying to develop a wifi based socket for understanding of HTTP APIs.
https://github.com/automote/thingSocket

I am currently using WiFiClient library for handling client queries on server. I want to integrate OTA to my code. For this I need to convert the complete code to ESP8266WebServer library and add support for OTA.

I am struck with handling multiple arguments for e.g.
http://<IP address>/a?ssid=mysid&pass=12456

How to handle multiple arguments in ESP8266WebServer library?

Thanks

Re: Handling multiple arguments in ESP8266WebServer

PostPosted: Thu Feb 18, 2016 8:29 am
by krzychb
Hi lovelesh,

You can handle multiple arguments just by looping them one by one – see this example

Hope this helps,

Krzysztof