Hi All, 1. Can a RESTlet receive a CSV file and st...
# suitescript
s
Hi All, 1. Can a RESTlet receive a CSV file and store in the file cabinet? 2. If yes, what is the maximum file size limit using RESTlet?
b
s
Thank you @battk. How can we receive a CSV file through RESTlet ?
b
if json, you place the csv content in a key on the object
👍 1
if plain text, you place the csv content directly in the post body
s
but, NS would support content type as either json /xml , if im not wrong. Can we also use plaintext ?
oh my bad, I see text/plain is also supported in NS. Thank you so much @battk for your quick response.