Created
February 7, 2012 21:27
-
-
Save wdjunaidi/1762114 to your computer and use it in GitHub Desktop.
curl - passing arrays and file as multipart/form-data
This file contains 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 -vX POST <url> -F <arraykey>[0]=<value0> -F <arraykey>[1]=<value1> -F <arraykey>[2]=<value2> -F <key>=@<filename> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment