How can I use curl command to download a file in Postman? or Is there a way to use curl command to do

18 Replies, 723 Views

Postman’s curl import is handy, but it’s not perfect for downloads. To use curl command to download a file in Postman, you might need to manually set the output filename in the "Tests" tab with a script like:

```javascript
pm.response.to.have.header('Content-Disposition');
```

Otherwise, it’s a crapshoot where the file lands.

Messages In This Thread



Users browsing this thread: 1 Guest(s)