Join Slack
Powered by
Is there any idea to use a suitelet as web hook. ...
# general
n
NS Dev 9
11/17/2021, 12:55 PM
Is there any idea to use a suitelet as web hook. But getting 405 method not allowed due to user agent
a
Addison Regnier
11/17/2021, 2:44 PM
Would need more info to help out. But off the top of my head I know when working with NetSuite you need to set User Agent to Mozilla/5.0
n
NS Dev 9
11/17/2021, 3:08 PM
Yes
@Addison Regnier
but i am not permitted to set any header in the web hook just i can submit the suitelet url.
m
michoel
11/17/2021, 11:05 PM
When I had to do this in the past I used a lambda function to proxy the webhook and add the header
👍 1
michoel
11/17/2021, 11:05 PM
https://stackoverflow.com/a/58514482
n
NS Dev 9
11/18/2021, 6:41 AM
Thanks
@michoel
for your valuable comment. Will work for it
3
Views
Open in Slack
Previous
Next