Created
April 9, 2018 08:44
-
-
Save th0j/d0964b489a7a96a30fd7fef6f664e629 to your computer and use it in GitHub Desktop.
Curl 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 -X POST -H "Content-Type: multipart/form-data" -F cloud_storages[]["bookmark_data"]=@arch_screenshot.png -F cloud_storages[]["real_filename"]=test_1 -F cloud_storages[]["ext"]=jpg -F cloud_storages[]["bookmark_data"]=@arch_screenshot.png -F cloud_storages[]["real_filename"]=test_2 -F cloud_storages[]["ext"]=png localhost:3000/api/v2/cloud_storages?keyapi=03da0b83c3dab8e2a48d28d1944b08dd |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment