Skip to content

Commit

Permalink
docs: update example to take into account latest changes
Browse files Browse the repository at this point in the history
  • Loading branch information
php-coder authored Jul 26, 2020
1 parent 58033fb commit 11bce3f
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 @@ -79,7 +79,7 @@ Generates the endpoints (or a whole app) from a mapping (SQL query -> URL)
Connection: keep-alive
$ curl http://localhost:3000/v1/categories
[{"id":1,"name":"Sport","name_ru":"Спорт","slug":"sport"}]
$ curl -i -H 'Content-Type: application/json' -d '{"name":"Fauna","nameRu":"Фауна","slug":"fauna","userId":101,"categoryId":1}' -X PUT http://localhost:3000/v1/categories/1
$ curl -i -H 'Content-Type: application/json' -d '{"name":"Fauna","nameRu":"Фауна","slug":"fauna","userId":101}' -X PUT http://localhost:3000/v1/categories/1
HTTP/1.1 204 No Content
ETag: W/"a-bAsFyilMr4Ra1hIU5PyoyFRunpI"
Date: Wed, 15 Jul 2020 18:06:34 GMT
Expand Down

0 comments on commit 11bce3f

Please sign in to comment.