jonny
04/23/2020, 12:59 AMapplication/binary
and convert it to base64 text to save it to the file cabinet in SuiteScript? The traditional javascript methods like btoa()
arent’ available serverside.battk
04/23/2020, 1:24 AMbattk
04/23/2020, 1:24 AMstalbert
04/23/2020, 3:46 AMjonny
04/23/2020, 4:25 AMapplication/octet-stream
then NetSuite will auto convert the binary data into base64 text. Any other content-type, like application/binary
and it won’t auto convert, just treats it like text.