I am trying to classify an image and following this doc. Here is my cURL command :
curl -X POST -F "images_file=~/fish.jpg" "https://gateway-a.watsonplatform.net/visual-recognition/api/v3/classify?api_key=12fdsxxxxxxxsadasdxxxxxxdsa45654&version=2016-05-20"
I am getting this response from the Watson:
{
"error" : {
"code": 400,
"description": "No images were specified.",
"error_id": "input_error"
},
"images_processed":0
}
My image is in C:/User/Rajesh Kumar/
and cURL is executing in Rajesh Kumar@RAJESH_KUMAR ~
. I know the problem is in the cURL command but don't know what. Please help me to solve this problem.
Thanks in advance!