Skip to content

Commit

Permalink
Merge pull request #1 from joeduffi/patch-1
Browse files Browse the repository at this point in the history
Syntax errors in curl command
  • Loading branch information
g-may authored Jun 29, 2017
2 parents 5a9428c + a377d25 commit cbc883f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ The following example shows how to call the API from a command line with curl. C
Open a command prompt or terminal, and send a request to the API using the settings from the *parameters.json* file you created. Replace *username* and *password* with your service credentials.

```bash
curl -X POST -u "username":"password" -d @parameters.json https://gateway.watsonplatform.net/natural-language-understanding/api/v1/analyze
curl -X POST -u "username":"password" -d @parameters.json -H "Content-Type:application/json" https://gateway.watsonplatform.net/natural-language-understanding/api/v1/analyze?version=2017-02-27
```
{: codeblock}

Expand Down

0 comments on commit cbc883f

Please sign in to comment.