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
battk
03/28/2023, 2:01 PM
if the client sending the request can send it as the plain text content type, sure
battk
03/28/2023, 2:01 PM
else restlets are very picky on content type
s
Shawn Talbert
03/28/2023, 2:42 PM
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?