<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: arial,helvetica,sans-serif; font-size: 10pt; color: #000000'>Hello everyone,<br><br>Is it possible to encode API calls into a simple URL format?<br><br>For example, I need to turn curl -i 'http://localhost:7557/presets/783d5b024367-DATA' -X DELETE into http://something<br><br>or<br><br>curl -i 'http://172.16.5.19:7557/presets/783d5b024367-DATA' \<br>-X PUT \<br>--data '{ "weight": 1, "precondition": "{\"summary.serialNumber\":\"783d5b024367\", \"_tags\":\"fase1\"}", "configurations": [ { "type": "value", "name": "InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANPPPConnection.1.Username", "value": "ps4" }, { "type": "value", "name": "InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANPPPConnection.1.Password", "value": "ps4" }, { "type": "value", "name": "InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANPPPConnection.1.NATEnabled", "value": "true" }, { "type": "value", "name": "InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANPPPConnection.1.X_BROADCOM_COM_FirewallEnabled", "value": "true" }, { "type": "value", "name": "InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANPPPConnection.1.PPPAuthenticationProtocol", "value": "AUTO_AUTH" }, { "type": "value", "name": "InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANPPPConnection.1.X_BROADCOM_COM_IfName", "value": "ppp0.0" }, { "type": "value", "name": "InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANPPPConnection.1.X_BROADCOM_COM_VlanMuxID", "value": "200" }, { "type": "value", "name": "InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANPPPConnection.1.X_BROADCOM_COM_VlanMux8021p", "value": "7" }, { "type": "value", "name": "InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANPPPConnection.1.Enable", "value": "true" }, { "type": "value", "name": "InternetGatewayDevice.Layer3Forwarding.X_BROADCOM_COM_DefaultConnectionServices", "value": "ppp0.0" }, { "type": "value", "name": "InternetGatewayDevice.X_BROADCOM_COM_NetworkConfig.DNSServers", "value": "8.8.8.8,8.8.4.4" } ] }'<br><br>into http://something<br><br>Is it possible to do it in a simple way?<br><br>Thanks in advance,<br><br>Miguel<br><br><div><br></div></div></body></html>