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
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With