Set the JSON Body from an External File in Postman
Some APIs require you to send a JSON request body where one of the properties represents the contents of a file, quite often, base64 encoded. So how to do this?
The problem with uploading a file when using JSON
In Postman, you can easily upload a file when creating a request with a multipart/form-data body type. But how to do the same when the request body is JSON. Let’s take this…