I’ve worked with Suitelet’s and RESTlets before an...
# suitescript
e
I’ve worked with Suitelet’s and RESTlets before and I have called RESTlets using TBA and I’m pretty sure I read somewhere that you can don’t have to pass authentication when calling a RESTlet from a Suitelet since NS will use the session already established. I am getting an error message: No Authorization header”. Any ideas?
b
Server scripts dont use session
m
You are probably thinking about calling from client script
c
i'm agree with michoel, try calling it in the client script. So in Suitelet > Client Script > Restlet :)
e
Thanks guys. I got it to work as recommended with the SL->CS->RS dance. On the design side it seems more efficient to just go directly to the RS from the SL without having to use the CS as a conduit.