The question above got me thinking - can a RESTlet...
# suitescript
s
The question above got me thinking - can a RESTlet receive multipart/form-data? I'm wondering if a RESTlet can somehow support vanilla HTML file/form uploads?
b
if the client sending the request can send it as the plain text content type, sure
else restlets are very picky on content type
s
Aye, so a restlet is likely to immediately reject multipart/form-data. I probably should set up a test to confirm that. IIRC restlets take plain text, json, or xml content types only?
b
r
A friend of mine pointed out this use case. Good to know that it's possible