Example: Traceroute operations using REST APIs

Example method and URI:

GET "https://192.0.2.5/rest/v1/traceroute? ip=192.0.2.10& is_ipv4=true& timeout=3& destination_port=33434& max_ttl=30& min_ttl=1& probes=3& mgmt=false"

Example curl command:

curl --noproxy 192.0.2.5 -k GET \ -b /tmp/primary_auth_cookie \ "https://192.0.2.5/rest/v1/traceroute? ip=192.0.2.10& is_ipv4=true& timeout=3& destination_port=33434& max_ttl=30& min_ttl=1& probes=3& mgmt=false"

在成功完成,切换返回response code 200 OK and a response body containing the output string produced by the traceroute operation.