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!
Using Suitescript to upload GZIP file via Rest API
I am creating an integration via a scheduled Suitescript to connect to a Rest API on the third party system. Part of the system requires that a JSON data file is submitted to the API as multipart form data containing a GZIP version of the JSON data. I have done lots of similar integrations in the past but not one that requires a binary file so looking for some advice here:
1) Can anyone provide some template code that shows how to create a binary file in this context? Not necessarily a gzip file, just the basics of how to handle binary files in Suitescript. Base64 encoded?