If you’re dealing with binary data, curl using file descriptor is a lifesaver. Just make sure to use `--data-binary` instead of `-d` to avoid any encoding issues.
Example:
```bash
cat your_binary_file | curl -X POST --data-binary @- http://example.com
```
Works like a charm for me.
Example:
```bash
cat your_binary_file | curl -X POST --data-binary @- http://example.com
```
Works like a charm for me.
