Bash script for curl -


i have following curl command:

curl -i -x post -h "content-type: multipart/form-data" -f "file=@d:\!zip\products.zip" http://example.com/api/v1.0/import/decisions -h "authorization: bearer lcl9pzci6miwidxnlcl9uyw1lijoiywrtaw4ilcj1c2vybmftzvnjlywqilcj3cml0zsjdlcjlehaioje1mdi3nty4ndisimvtywlsx2nvbmzpcm1lzci" 

right i'm able upload d:\!zip\products.zip (i use git bash on windows 10 machine) file server.

the problem d:\!zip\ folder contains hundreds of zip files should imported server.

could please show bash script list of files in folder , subsequently upload them server using curl command mentioned above.


Comments

Popular posts from this blog

python Tkinter Capturing keyboard events save as one single string -

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

javascript - Z-index in d3.js -