just a followup to my question yesterday regarding...
# suitescript
j
just a followup to my question yesterday regarding making a RESTlet call from a client script
Copy code
var 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