-d flag with the
curl command in your terminal is cool, but using
curl -d @ is cooler.
@ syntax allows you to pass a file as the data, and it works for the other
--data- commands, like
If you want to pass an
@ in the data without this special interpretation, you can use