routes - Audrey4899/IoT-Mock GitHub Wiki
Routes
| Route | Method | Headers | Body | Description |
|---|---|---|---|---|
| /rules | POST | Content-Type | json or yaml | Send the rules to the mock |
| /attack | POST | Launch attacks based on rules. Query parameter: type = all or httpflood or xss or robustness |
||
| /config | POST | Only on ESP8266.Config the ESP Wi-Fi.Query parameters: ssid, password, ip |