How can I use curl with a file descriptor for advanced data handling?

22 Replies, 2595 Views

Yo, I feel you. curl using file descriptor can be a bit tricky at first. If you're on Linux, you can also use process substitution like this:

```bash
curl -d @<(your_command_here) http://example.com
```

This way, you avoid temp files. Check out the curl man page for more advanced stuff.

Messages In This Thread



Users browsing this thread: 1 Guest(s)