Hi
Running VisualCron 8.1.2 and I am trying a PUT with a JSON body and the server is returning with a 422.
Endpoint:
https://synthetics.newre...tors/<redacted_id> Headers:
- Content-type: application/json
- X-Api-Key: <redacted key>
Raw body:
{
"frequency": 15,
"locations": [
"AWS_US_EAST_1"
],
"name": "Monitor Namer",
"status": "enabled",
"type": "SCRIPT_BROWSER"
}
And the response:
Exception in Task: Unhandled errors
{"errors":[]}Error getting HTTP response: The remote server returned an error: (422).
A GET to the same endpoint works fine, which is just to get the details, however I need to modify something and that is only done via PUT. I am able to perform the PUT operation in cURL or Postman.
Anyone else with the same issue?
Edited by moderator
2016-09-13T12:58:54Z
|
Reason: Not specified