Nick
Nick

Reputation: 37

Upload file to box via netsuite Suitelet script

I am having issue in uploading file to box Via NetSUite Suitelet. I am able to connect through Postman. But I am not able to connect through NetSuite Suitelet. The call doesn't reach to Box at all. Can someone please assist?

Upvotes: 0

Views: 878

Answers (1)

w3bguy
w3bguy

Reputation: 2250

The only thing I see an issue with, on the NetSuite side, is that you are missing a value in the call. Where I still use that 1.0 function I call it like this:

nlapiRequestURL(url,JSON.stringify(body),headers,null,'POST');

The API calls for the following parameters:

nlapiRequestURL(url, postdata, headers, callback, httpMethod)

Upvotes: 1

Related Questions