Merge pull request #2292 from kvch/elasticsearch-engine

New engine: Elasticsearch
This commit is contained in:
Alexandre Flament
2020-11-14 13:25:08 +01:00
committed by GitHub
3 changed files with 158 additions and 1 deletions
+2 -1
View File
@@ -126,7 +126,8 @@ def send_http_request(engine, request_params):
req = requests_lib.get
else:
req = requests_lib.post
request_args['data'] = request_params['data']
request_args['data'] = request_params['data']
# send the request
return req(request_params['url'], **request_args)