mobile ecommerce development

Post data to web server using the CURL command.

In this example I知 posting a file/image to the server on Port 5000 and the method I知 calling is called uploader. And the file I知 posting is called willioServer.PNG and its running on a Raspberry Pi and a Flask server.

Code

curl -X POST -H "Content-Type: multipart/form-data" -F 'file=@/home/pi/willioServer.PNG' 192.168.1.23:5000/uploader
Get in touch