anyone ever have an issue with using nlapiRequestU...
# suitescript
d
anyone ever have an issue with using nlapiRequestURL(objConfig.url, s_request, o_headers,'POST'); but it performs a GET??
s
I haven't had that issue, but just guessing I'd ask if you're sure
s_request
has a value in that case?
d
you know what it's the api on the other end
s
hmm, the other end shouldn't have any effect on the HTTP method sent out by NS
e
If
s_request
is
undefined
or
null
it would perform a
GET
s
this is one example of where netsuite is broken imho. There's nothing illegal about doing a post with an empty body