Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/0xsirsaif/elasticsearch-in-action

Practicing Elasticsearch with the Python low-level client: elasticsearch[async].
https://github.com/0xsirsaif/elasticsearch-in-action

Last synced: 21 days ago
JSON representation

Practicing Elasticsearch with the Python low-level client: elasticsearch[async].

Awesome Lists containing this project

README

        

#### Use ``HTTPie`` as a client

##### Endpoints

1. ``GET`` specific Book with ``ID``.

```shell
http --json GET :8000/bookstore/[ID]
```

2. ``GET`` all Books.

```shell
http --json GET :8000/bookstore/
```

3. ``PUT`` or modify Book, validated with Pydantic ``Book`` model.

```shell
http --json PUT :8000/bookstore/[ID] [KEY/Value]
```