I have a suitelet - it's irrelevant what it's supposed to do...
Just simply issuing a curl command - or a POST from another source throws the error "This request is missing a required parameter" - BUT that's never logged in the Suitelet log - this is 100% NetSuite, not my code, intercepting the request and killing it before my Suitelet can process it...
Anyone know what the mystery parameter is that netsuite is hitting before the Suitelet can do work...
The Suitelet code starts like this:
function funWithSuitelets(request, response){ nlapiLogExecution('DEBUG', request.getAllHeaders()); And never is anything put to the server log...Want to see your already working suitelt fail - use the curl command below...curl -X POST -d "fizz=buzz" https://forms.sandbox.netsuite.com/app/site/hosting/scriptlet.nl?script=123&deploy=1&compid=xxxxx&h={some long number}Does ANYONE know what this missing parameter is... the headers from the curl are: Accept: */* Host: whatever you are pointing at Connection: close User-Agent: curl/7.30.0 Content-Length: 9 X-Request-Id: 2e518e30-3de7-42f3-afe5-00a02107fd3b Content-Type: application/x-www-form-urlencoded