I am currently trying to setup a script in newman to run a POST request with an image attached in the body. I specified the type as Binary, and I was wondering how do I specify the file path for an image file in the body?
zbaker_apex
(Zachary Baker)
1
Chris
(Chris)
2
Here you go:
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| File-uploads as part of a Collection run | 1 | 8616 | February 27, 2023 | |
| Binary mode file upload with newman iterationData | 1 | 4865 | July 21, 2020 | |
| Is there a way to pass a binary file without using Newman script and via Postman Collection? | 0 | 807 | September 20, 2022 | |
| File upload nightmare with Newman | 0 | 622 | June 23, 2022 | |
| Binary file load error: no such file | 1 | 88 | April 30, 2025 |