I am doing this `https` request on afterSubmit on ...
# suitescript
t
I am doing this
https
request on afterSubmit on a transaction UE. I am getting this error message:
The URL must be a fully qualified HTTPS URL.
Any thoughts?
b
the answers is that url.resolveScript is going to return you a relative url
you can add a domain, but that wont help you in the long run
server side scripts dont have the required cookie to access internal netsuite urls
t
Gotcha, could i prefix it with the domain and that solve it?
calling internal suitelet from server side script is a flawed approach
t
Thanks, @battk, I know what I want to do now. Thanks