1 ===================================================
2 ``POST https://bosh.pageplace.de/bosh/rest/upload``
3 ===================================================
4 Upload a new book ``.epub`` file.
6 Step 1 of the `upload process`_.
12 Nearly identical to the `bosh v1 header set`_, but not exactly the same.
13 No ``client_type``, no ``client_version``.
16 ``multipart/form-data; boundary="Boundary1612163626238"``
17 ``Content-Transfer-Encoding``
20 Depending on the request body.
25 ``Content-Disposition: form-data; name="control"``
28 ``{"filesize":334499,"transactionId":"84401550-d933-4f12-b168-87421835bada"}``
31 ``Content-Disposition: form-data; name="file"; filename="MacBest by Pratchett Terry.epub"``
33 Binary .epub file contents
38 HTTP status code: ``200 OK``.
40 Meta data entry for the uploaded file.
44 .. include:: pageplace.bosh-bosh-rest-upload.response.json