Skip to content

Commit f7d978d

Browse files
authored
Merge pull request #5794 from tjsturos/fix-ra-data-json-server-create-method-docs
Fix Create method API call URL example
2 parents 3cf8e16 + 0c025a7 commit f7d978d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/ra-data-json-server/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ This Data Provider fits REST APIs powered by [JSON Server](https://github.com/ty
2020
| `getOne` | `GET http://my.api.url/posts/123` |
2121
| `getMany` | `GET http://my.api.url/posts?id=123&id=456&id=789` |
2222
| `getManyReference` | `GET http://my.api.url/posts?author_id=345` |
23-
| `create` | `POST http://my.api.url/posts/123` |
23+
| `create` | `POST http://my.api.url/posts` |
2424
| `update` | `PUT http://my.api.url/posts/123` |
2525
| `updateMany` | `PUT http://my.api.url/posts/123`, `PUT http://my.api.url/posts/456`, `PUT http://my.api.url/posts/789` |
2626
| `delete` | `DELETE http://my.api.url/posts/123` |

0 commit comments

Comments
 (0)