Query REST API with image data using CURL

I have a RESTful API (built on flask) which has to return JSON after receiving an Image file. So this has to be done through GET request with image data. SO, how do i use CURL to query the REST API on image data through GET request? Which format will it be sent to the server for me to retrieve it?

链接地址: http://www.djcxy.com/p/8590.html

上一篇: PHP cURL:multipart / form

下一篇: 使用CURL查询包含图像数据的REST API