Anyone figure out how to expose a Suitelet as a we...
# suitescript
d
Anyone figure out how to expose a Suitelet as a webhook? NetSuite historically blocked this unless you overwrote the 'User-Agent' to 'Mozilla/5.0'.
m
I use a php script as a middleman in a few places to basically just pass the POST info through to a Suitelet (for callbacks and whatnot where we can't control the headers)
m
I do the same but with a serverless cloud function which is a more lightweight option if you don't have a PHP server handy already