Skip to content

Commit

Permalink
Fix Create method API call URL example
Browse files Browse the repository at this point in the history
The Create method API url does not have an ID.  The resource is not
created yet.
Fixes #5792
  • Loading branch information
tjsturos committed Jan 18, 2021
1 parent 6bf9658 commit 0c025a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ra-data-json-server/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ This Data Provider fits REST APIs powered by [JSON Server](https://github.com/ty
| `getOne` | `GET http://my.api.url/posts/123` |
| `getMany` | `GET http://my.api.url/posts?id=123&id=456&id=789` |
| `getManyReference` | `GET http://my.api.url/posts?author_id=345` |
| `create` | `POST http://my.api.url/posts/123` |
| `create` | `POST http://my.api.url/posts` |
| `update` | `PUT http://my.api.url/posts/123` |
| `updateMany` | `PUT http://my.api.url/posts/123`, `PUT http://my.api.url/posts/456`, `PUT http://my.api.url/posts/789` |
| `delete` | `DELETE http://my.api.url/posts/123` |
Expand Down

0 comments on commit 0c025a7

Please sign in to comment.