How to Send File and JSON Data Together in Postman?

Hey everyone,

I’m trying to send a file (like an image or PDF) along with some JSON data in a single request using Postman. I’m using a POST request and need to pass both as multipart/form-data. I’m not sure how to structure the body properly to include both types of data. Should the JSON be sent as a string field? Any examples or tips would be super helpful.

Thanks in advance!

Hey @davissmith25 :waving_hand:

Are you following a set of instructions from some documentation for the endpoints? Are there any curl examples that can be pasted in the URL address bar.

An simple example using the postman-echo service would be structured something like this but using the correct keys and values for your context:

1 Like