Comments
-
Well, that was a face palm moment for me! Thank you!!
-
Chalk this up to poor documentation. All request URLs require the ".json", or ".xml" extensions on the end of the URL, despite already declaring content-type in the header. The following call worked: curl.exe -H "X-Samanage-Authorization: Bearer TOKEN" -H "Accept: application/vnd.samanage.v2.1+json" -H "Content-Type:…
-
Sorry, here is the example: curl.exe -H "X-Samanage-Authorization: Bearer TOKEN" -H "Accept: application/vnd.samanage.v2.1+json" -H "Content-Type: application/json" -X GET https://api.samanage.com/incidents/123456789