hi, i can start new topic, anyway, before I'll try to ask here.
I'm trying to use API for adding new CSO.
The client has made a successful request. as code 200 is the answer, but at the end of response is {"result":"failed"}.
here is the curl command:
could someone help?
I'm trying to use API for adding new CSO.
The client has made a successful request. as code 200 is the answer, but at the end of response is {"result":"failed"}.
here is the curl command:
Code Select
curl -v -k -u "key":"secret" \
-H 'Content-Type: application/json' \
-X POST "https://firewall.ip/api/openvpn/client_overwrites/add" \
-d '{"enabled": true, "common_name": "test.user", "server_list": ["OVPN-IN (52002 / UDP)"]}'could someone help?
"