Is it possible to change the HTTP Status Code for ...
# suitescript
m
Is it possible to change the HTTP Status Code for a response in SS2.0. I tried
serverResponse.setHeader({name: 'Status', value: '404'})
. Doesn’t look like that’s working.
b
should be no. suitelets are a poor integration choice because of it
m
that makes sense. we’re doing a get request on a extternal site we don’t control the backend for so we can’t do the auth required by a restlet
s
Suitelets do have flexiblity that RESTlets do not, in terms of request/response payload