Dozham
Results
2
comments of
Dozham
Tried to upload a file using the `/add` API: `curl -XPOST -F 'image=@/opt/some-image.jpg' localhost:8888/add` The request fails and outputs: `{"status": "fail", "error": ["bad request"], "method": "", "result": []}` Is there...
@the-jojo-jj I did. Try this: `curl --location --request POST 'localhost:8888/add' --header 'Content-Type: application/x-www-form-urlencoded' --form 'image=@"/path/to/file.png"' ` or if you just want to use the `filepath` text parameter, replace this line:...