|
Binary Form Data Structure
Binary form data must be POSTed as multipart/form-data in accordance with the RFC 7578 specification. In addition to the binary data, the part must include text headers for both Content-Disposition and
Content-Type. The Content-Disposition header must specify Example of multipart/form-data for a JPG photo upload: --------------------------27208d29c2d59d4c Content-Disposition: form-data; name="file"; filename="family_photo.jpg" Content-Type: image/jpeg <binary JPG data> --------------------------27208d29c2d59d4c |