Skip to content

Commit

Permalink
Merge pull request #4 from intelliot/patch-1
Browse files Browse the repository at this point in the history
Fix one-liner test command
  • Loading branch information
rvinluan committed May 21, 2015
2 parents 6479e68 + 5da8e86 commit efe01f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ Your app should now be running on `localhost:5000`.
To test locally, you'll have to send some POST commands to `localhost:5000/commands`. Here's a one-liner to test starting a battle:

```Shell
$ curl -d '{"text":"pkmn battle me"}' -H 'Content-Type:application/json' "localhost:5000/commands"
curl -X POST -d '{"text":"pkmn battle me"}' -H 'Content-Type:application/json' "localhost:5000/commands"
```

To test other commands, change the text in the JSON object above.
Expand Down

0 comments on commit efe01f2

Please sign in to comment.