如何传递curl请求

时间:2017-06-29 16:16:32

标签: java android web-services curl

如何在Android应用中传递此请求?

curl -X POST -F "images_file=@fruitbowl.jpg" "https://gateway-a.watsonplatform.net/visual-recognition/api/v3/classify?api_key={api-key}&version=2016-05-20"