Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/exampleusage.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ store the JSON data:
```

Then, provide the contents of the new file as the body for a HTTP PUT request
using the `curl` command:
using the `curl` command with the HTTP header specified:

```sh
curl -X PUT -T create.json 'http://localhost:8121/users'
curl -H 'Content-Type: application/json' -X PUT -T create.json 'http://localhost:8121/users'
```

### Reading an Object
Expand Down Expand Up @@ -138,7 +138,7 @@ Then, provide the contents of the new file as the body for a HTTP POST request
using the `curl` command:

```sh
curl -X POST -T update.json 'http://localhost:8121/users?last_name=Doe&first_name=John'
curl -H 'Content-Type: application/json' -X POST -T update.json 'http://localhost:8121/users?last_name=Doe&first_name=John'
```

Finally, verify the modifications by retrieving the most recent version of the
Expand Down