title: How to send image to Flask server from curl request
body: <p>I want to send an image by curl to flask server, i am trying this curl command <br>
  <code>curl -X POST -F file=image.jpg "http://127.0.0.1:5000/"
  </code> but it did not work by the way on the server side i handle the image by this code <br><code>image = Image.open(request.files['file'])</code> i am trying to read the image using PIL <br>
  Is there anyway to do this?<br>
  Thanks in advance</p>