I'm trying to a call a suitelet from a UE script. ...
# suitescript
j
I'm trying to a call a suitelet from a UE script. I've tried using the http and https modules, I construct the url by getting the domain using url.resolveDomain and the suitelet url using url.resolveScript, then I use http/https to call this by using a http/s.get, this has been returning the NetSuite login page instead of my expected data. What am I doing wrong here? I'll add my code below to see if I'm going wrong anywhere.