Parsing multipart/form-data response from Connect-REST
What are the options for processing a multipart/form-data response from a REST service? We are receiving a response with an attachment, what would be the best way to extract that file as well as the json response data accompanying it? Does anyone have experience with this or know of resources they can point me to? Searches within PDN have not returned much information on processing multipart responses.
~ Thank you.