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

22 Replies, 2626 Views

curl using file descriptor is awesome for scripting! If you're on Windows, you might need to tweak things a bit, but the concept is the same.

Here's a simple example:
```bash
curl -d @<(echo "your data") http://example.com
```

Works like a charm.

Messages In This Thread



Users browsing this thread: 1 Guest(s)