I would like to export a static image of a map and all its layers, using the ArcGIS REST API.
I have followed the DevLabs example here, using Postman:
However, the response returned after following steps 1-6 exactly as specified is:
"message": "Unable to complete operation.",
"Expected property name; state : inPropertyValue; buffer : :null,\"Format\":null,\"Layout_Template\":null"
Can anyone advise what I am doing wrong, and why the example given does not work?
Figured out why the example doesnt work - In Postman the default Content-Type is form-data, it has to be x-www-form-urlencoded to work correctly