Skip to content

Commit

Permalink
docs for payload from file
Browse files Browse the repository at this point in the history
  • Loading branch information
hsen-dev authored May 11, 2020
1 parent d98d342 commit fee132f
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,28 @@ Welcome to Elasticsearch for VSCode! An extension for developing elasticsearch q
- For https endpoints, just add protocol type in url : ```https://host```
- For auth protected clusters, you can use ```http://user:pass@host:9200``` as the endpoint url to have it auth.

### Submit requests
Simple way:
```text
GET /my-index/_search
{
"size":7,
"query": {
"match" : {
"message" : {
"query" : "this is a test"
}
}
}
}
```

Get payload from file [[#4](https://github.com/hsen-dev/vscode-elastic/issues/4)]:
```text
PUT /my-index
!./opt/elasticsearch/mapping.json
```


## Commands

Expand Down

0 comments on commit fee132f

Please sign in to comment.