<@UBQQHJ2GG> Context? Where are you firing this?
# suitescript
a
@Chris Context? Where are you firing this?
c
View mode on Sales Order
a
Cross Site? different domain? maybe you are having CORS problems.?
c
Interesting. Does that usually get logged somewhere? The same request works great from Postman, this is why I'm so confused.
b
cors is a client side request protection
doesnt come into play for server side requests like postman
https.post should route the request through netsuite's server, so you shouldnt have cors problems
c
So I added
Content-Type
and
Accept
headers and it flowed through.
Looks like problem solved for now.