If I have a restlet that I want to call with a use...
# suitescript
a
If I have a restlet that I want to call with a user event, do I need to do that with the external url of the restlet and send headers, or can it be done internally?
b
include the restlet code as a library for your user event and use it from there
or extract the shared code from the restlet into a custom module to share between the 2 scripts
✔️ 1
s
to answer the original question, AFAIK you have to use the external url in that case and hence authenticate.