jeffmillies
01/11/2017, 4:13 PMvar response = <http://https.post|https.post>({
headers: {
'Content-Type': 'application/json'
},
url: '/app/site/hosting/restlet.nl?script=182&deploy=1',
body: JSON.stringify(request)
});
doesn't seem to honor the application/json, it also sends text/xml, so the restlet will error out unless you send text back instead of an object - but does work without sending login creds