Connect to network
- Connect to network request.
Edit
Call:
http://192.168.4.1/wifi/network/connect
{"passkey":"smart16_inHouse","ssid":"eZlo_Smart_House"}
Edit
Reply:
HTTP/1.1 200 OK
Access-Control-Allow-Origin: *
User-Agent: EXAMPLE AGENT
Content-Type: application/json
Content-Length: 25
{"status":"success","state":"connecting"}
Edit
Reply:
HTTP/1.1 400 Bad Request,
Access-Control-Allow-Origin: *
Connection: close
User-Agent: EXAMPLE AGENT
Edit
Reply:
HTTP/1.1 404 Not Found
Access-Control-Allow-Origin: *
Connection: close
User-Agent: EXAMPLE AGENT