in postman API collection have one upload stream API, and this API content type using octet-stream. In octet-stream we have to upload direct a jpg file via postman file type, API working fine in postman and runner also. but the problem is when we are running JSON files in the AWS pipeline this API getting failed. because API not getting the image files. How can we solve this problem?
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Sirv API expects Content-Type: image/json, Postman sends application/octet-stream | 0 | 6586 | August 6, 2020 | |
Unsupported Media Type Error | 1 | 18784 | March 24, 2025 | |
File upload scenario through Jenkins using Newman API options | 2 | 1067 | February 7, 2024 | |
Can't Render a Binary Image File | 0 | 3662 | July 7, 2020 | |
How do I POST an image file in my pipeline build? | 1 | 2100 | October 28, 2021 |