Join Slack
Powered by
Is it possible to change the HTTP Status Code for ...
# suitescript
m
Miquel Brazil
04/02/2020, 3:17 PM
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
battk
04/02/2020, 3:25 PM
should be no. suitelets are a poor integration choice because of it
m
Miquel Brazil
04/02/2020, 3:26 PM
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
stalbert
04/02/2020, 4:01 PM
Suitelets do have flexiblity that RESTlets do not, in terms of request/response payload
2
Views
Open in Slack
Previous
Next