elasticsearch-api

Elasticsearch Search Query using python subprocess: Illegal Argument Exception

Elasticsearch Search Query using python subprocess: Illegal Argument Exception Question: I am trying to run a curl command using the run command in the subprocess module in python. But it is failing. However, the curl command for my elasticsearch search query API is working fine- curl -k XGET -H "Content-Type: application/json" -H "Authorization: ApiKey Q2txZ2FvSUJ6Nlcwa3pjbnh0NUM6enBidjdNLTdRQVNhc0tuTEk5UEZmZw==" …

Total answers: 1