Created
July 20, 2015 15:49
-
-
Save ebouchut/83274db70170e363b444 to your computer and use it in GitHub Desktop.
Send a file to a URL using curl
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl $URL --data @$FILE -vv -L -H "Content-Type:application/json" | |
# curl $URL --trace-ascii - --data @$FILE -L -H "Content-Type:application/json" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment