I’m currently writing an API where I have to upload documents. To simplify the testing process, I created a small helper file to create the multipart/form-data.
Here is the helper file:
And here is an example on how to use it:
I’m currently writing an API where I have to upload documents. To simplify the testing process, I created a small helper file to create the multipart/form-data.
Here is the helper file:
And here is an example on how to use it: