I\'ve been posting a file with this curl command:
curl -i -F file=@./File.xlsm -F name=file -X POST http://example.com/new_file/
Now I want to
This worked for me:
curl -v -H "Content-Type:multipart/form-data" -F "meta-data=@C:\Users\saurabh.sharma\Desktop\test.json;type=application/json" -F "file-data=@C:\Users\saurabh.sharma\Pictures\Saved Pictures\windows_70-wallpaper.jpg" http://localhost:7002/test/upload
test.json has the json data I want to send.