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
commit c3d9b17c2a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 158 additions and 1 deletions

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)