Date: Thu, 28 Mar 2024 18:01:20 +0000 (UTC) Message-ID: <537811360.9307.1711648880749@catch-kbase-p> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_9306_1380099427.1711648880739" ------=_Part_9306_1380099427.1711648880739 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
Multipart MIME is a standard used f= or uploading files to webservers. All the API resources which support file = uploads in ET use this standard.
Uploads look like this:
POST /= EnterpriseTester/api/stepresult/25eb6aa0-3514-48bf-8c59-a21200d7a6fc/attach= ments HTTP/1.1 Host: 127.0.0.1 Content-Type: multipart/mixed; boundary=3D65bf6b94-c91c-442c-abe7-f41444d7c= 71f Content-Length: 3 Authorization: Basic bGFidmlldzpvbnNhbGE=3D --65bf6b94-c91c-442c-abe7-f41444d7c71f Content-Disposition: attachment; filename=3D"notes.txt"; name=3Dnotes; size= =3D3 Content-Type: text/plain Content-Length: 3 ABC --65bf6b94-c91c-442c-abe7-f41444d7c71f--
Typically - a library will generate this for you - but if you are genera= ting it yourself then the key points are as follows: