How to convert cURL to postman?

Solution 1:

By using the 'Import' functionality followed by 'Paste Raw Text'.

Explained in the official docs here.

For the body it selects raw and expects the user to paste the content of the file into Postman. Alternatively you can toggle it to binary and upload the file manually while doing the actual request.