Check out Oracle NetSuite upcoming events and conferences here
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!
Update your Profile with your Support type to get your Support Type badge.
Expand your NetSuite knowledge by joining our Ask A Guru Live sessions. RSVP on this event now.
Community Poll: What sort of content would you like to see more of?
Get ready to take on exciting new challenges and become the next SuiteMaster of the Month!

Using Suitescript to upload GZIP file via Rest API

edited Nov 4, 2020 6:37PM in Ask A Guru 9 comments

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?

Howdy, Stranger!

Log In

To view full details, sign in.


Don't have an account? Click here to get started!


Community Whiz

Quarter 3 (Jul-Sep 2024)

This Week's Leaders

This Month's Leaders

All Time Leaders