Skip to content

Commit

Permalink
Merge pull request Kong#252 from janpapenbrock/patch-1
Browse files Browse the repository at this point in the history
Docs: Need to use POST to create a consumer.
  • Loading branch information
thibaultcha authored Jul 15, 2016
2 parents 91e9991 + 5cef34e commit 9a5c0a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/plugins/jwt.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ In order to use the plugin, you first need to create a Consumer and associate on
You need to associate a credential to an existing [Consumer][consumer-object] object. The Consumer is an entity consuming the API. To create a [Consumer][consumer-object] you can execute the following request:

```bash
$ curl http://kong:8001/consumers \
$ curl -X POST http://kong:8001/consumers \
--data "username=<USERNAME>" \
--data "custom_id=<CUSTOM_ID>"
HTTP/1.1 201 Created
Expand Down

0 comments on commit 9a5c0a4

Please sign in to comment.