Using Curl to Enable PPP

Example: Using Curl to Enable PPP

curl -k -X PUT -H "Content-Type: application/json" -d '{
    "enabled": true
}' https://192.168.2.1/api/ppp?token=2442CB0CB60B2EE9F5A35DF5ED8C33

Example: Curl result

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