I'm running a curl script for html document conversion with a html file config. Below is the code:
curl -x POST -u "Username":"Password" -F "[email protected]" -F "[email protected];type=text/html" "https://gateway.watsonplatform.net/document-conversion/api/v1/index_document?version=2015-12-15"
I'm getting error - Could not resolve proxy: POST
. If anyone could help on this please?
Note - I have curl 7.46
installed
I am learning curl recently and encountered this as well. Actually, the reason is that the -x
should be replaced by -X
.