Make possible to use a custom uid and simplify the usage

This commit is contained in:
Clément Renault
2019-11-22 11:18:46 +01:00
parent 0f86ccc035
commit 9605a2cd88
2 changed files with 12 additions and 8 deletions

View File

@ -62,7 +62,7 @@ MeiliDB can serve multiple indexes, with different kinds of documents,
therefore, it is required to create the index before sending documents to it.
```bash
curl -i -X POST 'http://127.0.0.1:8080/indexes/movies'
curl -i -X POST 'http://127.0.0.1:8080/indexes' --data '{ "name": "Movies", "uid": "movies" }'
```
Now that the server knows about our brand new index, we can send it data.