Skip to content

Commit 85d34d6

Browse files
committed
add request examples
1 parent d961120 commit 85d34d6

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,9 @@
22
An example program that scrapes data from AllRecipes.com and store in Elasticsearch.
33

44
This code is the part of the blog post: [Getting started with Elasticsearch in Python](http://blog.adnansiddiqi.me/getting-started-with-elasticsearch-in-python/)
5+
6+
7+
8+
9+
Example:
10+
curl -X GET 'http://localhost:9200/recipes/_search'

console.es

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ POST recipes/_search
88
}
99
}
1010

11-
POST recipes/_search
11+
GET recipes/_search

0 commit comments

Comments
 (0)