How do you add headers in a restlet response?
# suitescript
k
How do you add headers in a restlet response?
b
you dont, you only control the body of the response
👍 1
and i guess the status if you are talking about throwing errors
c
Untitled
k
hmm webstorm is telling me that response doesn't exist in context
is there a type for restlet context?
(I'm using typescript)
b
he mistook your restlet questiion for a suitelet question
k
ah ok
c
yeah my bad
k
I'll just have to tell the customer it can't be done and I'll send the parameter in the body then
thank you!