Join Slack
Powered by
One technique I have seen is adding a JSON propert...
# suitescript
s
scottvonduhn
02/25/2021, 6:01 PM
One technique I have seen is adding a JSON property to your response object, such as httpCode, and setting it to the code you want. The client/calling code will need to look at that property instead of the actual HTTP response code, though.
httpCode.js
Open in Slack
Previous
Next