Is there a way to send both JSON parameters and multipart/form-data files in a single request using Vue, similar to how Postman does it? https://i.sstatic.net/CMi3D.png
I've been looking into how to submit "multipart/form-data" from VueJs. What I need is to include an image file in multipart format along with other parameters in a single JSON object (with content-type as json). Is it possible to combine these parameters in one HTTP request?
The main challenge is figuring out how to handle sending both JSON parameters and multipart files in a single POST request.