I want to POST a request to a REST API with content-type:multipart/related containing a json part and file part like the following example:
--.cpjJMFx9g/PaFGcDu5w40iR)P NnR45'lhRUQ-
Content-Type: application/json; charset=UTF-8
{
"file_id": "cid:afd1602c7720e76df92618faecc4295c@AXI.fr",
"date": "2020-02-19T09:27:41.018Z"
}
--.cpjJMFx9g/PaFGcDu5w40iR)P NnR45'lhRUQ-
Content-Type: image/png
Content-Transfer-Encoding: binary
Content-ID: <afd1602c7720e76df92618faecc4295c@AXI.fr>
Content-Disposition: attachment; filename=capture.png
<content-file>
--.cpjJMFx9g/PaFGcDu5w40iR)P NnR45'lhRUQ---
Did you have any solution to do the test with postman, jemeter or any test tool?