Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
How to use GET or POST Method in Suitelets
Hi,
I need to pass parameters to a Suitelet in the query string. But the parameter length may exceed 255 characters as the data to be passed is quite long.
I have set the Event Type property to "GET Request".
I tried to pass longer value and its displaying the data even of a longer length(596 chars).
param_fields = request.getParameter("fields");
response.write (param_fields).
As per the normal definition the GET method for the request should be used when we are passing the data of shorter length (less than 255 chars).
My question:
- If this is true then why i am able to see the full data?
0