meilisearch / meilisearch-dart

The Meilisearch API client written for Dart
https://meilisearch.com
MIT License
81 stars 26 forks source link

Update getting_started code-samples #328

Closed meili-bot closed 1 year ago

meili-bot commented 1 year ago

This PR is auto-generated. Update the code-samples.meilisearch.yml according to the documentation issue. 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:

    curl \
  -X POST 'http://localhost:7700/indexes/movies/documents?primaryKey=id' \
  -H 'Content-Type: application/json' \
  -H 'Authorization: Bearer aSampleMasterKey' \
  --data-binary @movies.json
ahmednfwela commented 1 year ago

note that I couldn't find the dart sdk in the getting started section image

brunoocasali commented 1 year ago

Yeah @ahmednfwela I'm not sure why it is not showing up :|

meili-bors[bot] commented 1 year ago

Build succeeded: