Last active
January 7, 2020 16:01
-
-
Save nazt/95ee8bec18eb28dbc3115dd46bd818f1 to your computer and use it in GitHub Desktop.
curl.sh
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl --header "Content-Type: application/json" \ | |
--request POST -v \ | |
--data-binary '{"sta_ssid":"xyz","sta_password":"xyz"}' \ | |
http://192.168.4.1/api/wifi/sta | |
curl -X POST -d "sta_ssid=weerawan&sta_password=87654321" http://192.168.4.1/api/wifi/sta | |
curl -X POST -d "sta_ssid=ampere&sta_password=espertap" http://192.168.4.1/api/wifi/sta |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment