watson-developer-cloud / assistant-with-discovery

DEPRECATED: this application is deprecated and thus will not receive fixes or security updates. It is archived for educational purposes, but may not function.
Apache License 2.0
145 stars 340 forks source link

Incorrect curl command #97

Closed cvsanchez42 closed 6 years ago

cvsanchez42 commented 7 years ago

https://github.com/watson-developer-cloud/conversation-with-discovery/blob/master/custom_config/config_instructions.md#set-up-a-custom-configuration-with-the-discovery-api

In the terminal command: -There is an invalid quote character, and quotes are missing.

stevenpkg commented 7 years ago

Always good to retype as copy and paste can course errors. Try this

curl -X POST -u “:” \ -H “Content-Type: application/json” \ -data “@” \ “https://gateway.watsonplatform.net/discovery/api/v1/environments//configurations?version=2016-12-01”