For some reason, setting `User-Agent: Mozilla/5.0`...
# suitescript
m
For some reason, setting
User-Agent: Mozilla/5.0
header, made the Suitelet accept POST requests. 🤪
s
Suitelets are really not intended to be used as REST APIs. I still do use them when I know that I will never need to make a request to it from outside of NetSuite. However the fact that it only supports GET and POST requests and the header issue with POST requests is very limiting.