# Multipart requests

Some APIs require payload encoded as `multipart/form-data`. To send multipart requests from Exporteo, you need to add a `Content-Type` header set to `multipart/form-data; boundary=ExporteoFormBoundary`.

<figure><img src="/files/eAYaTSBAzy37fZPfoBpc" alt=""><figcaption></figcaption></figure>

You also need to insert the multipart boundaries to the output template like in the code snippet below. The example includes three parts: username, password, and an xml file named `orderxml`. Please make sure to preserve the empty lines below each `Content-Disposition`.

```
--ExporteoFormBoundary
Content-Disposition: form-data; name="username"

store1234
--ExporteoFormBoundary
Content-Disposition: form-data; name="password"

o2qoTH91NDe6uqa
--ExporteoFormBoundary
Content-Disposition: form-data; name="orderxml"

<?xml version="1.0"?>
<order>
  ...
</order>
--ExporteoFormBoundary--
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.exporteo.solvenium.com/multipart-requests.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
