Using Curl to Save the Current Configurations and Reboot

Example: Using Curl to save the current configurations and reboot

curl -k -X POST -d "" \
"https://192.168.2.1/api/command/save_restart?token=2442CB0CB60B2EE9F5A35DF5ED8C33"

Example: Curl result:

{
    "code" : 200, 
    "status" : "success"
}