Commit 2f965df
Merge #451
451: Update getting_started code-samples r=brunoocasali a=meili-bot
_This PR is auto-generated._
Update the code-samples.meilisearch.yml according to the [documentation issue](meilisearch/documentation#2499).
The `api_key` field is missing in the instantiation of the client in the getting started samples.
Add `aSampleMasterKey` as the `api_key`.
cURL example:
```bash
curl \
-X POST 'http://localhost:7700/indexes/movies/documents?primaryKey=id' \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer aSampleMasterKey' \
--data-binary `@movies.json`
````
Co-authored-by: meili-bot <[email protected]>
Co-authored-by: Bruno Casali <[email protected]>1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
355 | 355 | | |
356 | 356 | | |
357 | 357 | | |
358 | | - | |
| 358 | + | |
359 | 359 | | |
360 | 360 | | |
361 | 361 | | |
| |||
0 commit comments