Writing JSON to API Produces HTTP 406 Response Code
curl -i -XPUT https://api.thousandeyes.com/v7/tests/http-server/817 \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $BEARER_TOKEN" \
-d '{"interval": 900, \
"agents": [{"agentId": 117}],
"testName": "Edited test name for API network test addition for www.thousandeyes.com"
}'curl -i -XPUT https://api.thousandeyes.com/v7/tests/http-server/817 \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $BEARER_TOKEN" \
-d "{\"interval\": 900, \
\"agents\": [{\"agentId\": 117}],
\"testName\": \"Edited test name for API network test addition for www.thousandeyes.com\"
}" \Last updated