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
MTNathan
01/16/2020, 4:20 PM
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
michoel
01/16/2020, 11:51 PM
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