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 Takes JSON makes request in XML
I have been banging my head on this for a while and I am sure it is something stupid.
I have a RESTlet that takes JSON. It parses out the JSON, generates some XML then it calls a third party API. No matter what I do I keep on returning the XML in a string that is automatically escaping the quotation marks with backslash ( ") and then is is not allowing me to resolve the URL with the XML. My theory is that because the RESTlet is accepting JSON is wrapping it is quotation marks and escaping the quotes. Or maybe this is just something that postman does.