Discussions
Read on for the latest updates including:
• Agenda Builder launch
• SuiteWorld On Air registration
• New NetSuite Prompt Studio Contest
• And more!
Check out this thread to learn more!
RESTlet how do I pass and read header information?
Hello,
I am trying to create a RESTlet that retrieves support cases information from NetSuite. I have written many suitelets but this is my first RESTlet and I am unsure how to pass information in the header.
I also want to check that I am using the RESTlet in the correct way - as I understand it you can pass a customer contact email and password details through (the header?) which ensures a secure login? I could not find any specific documentation in NetSuite that show me how to do this - anyone done this before? I am using Javascript to to call the HTTP request with a clientid as a parameter. How do I pass the header information in this and how to I read it in the NetSuite RESTlet script to validate it? I am