I'm converting a web service client call from SOAP to HTTPClient using 2019 R3. The response back from the web service is multipart which means my response contains both XML and binary content. The SOAP implementation gave me a property in the response to pull the binary data into a BLOB. However, now that I'm using HTTPClient the response BLOB it seems I'll have to write code to parse the BLOB response body to get the binary data.
Does anybody have any example PB code of how to extract the binary portion of multipart data from the HTTPClient response body?