I try to send queries I tested successfully with cURL with jQuery to ES,
but the result differs from the result with cURL.
After a Wireshark session I found out, that jQuery sends my query as URL
parameters while cURL send the query as JSON in the body of the request
as application/x-www-form-urlencoded.
Does someone know how to send a query via jQuery properly to ES?
Currently I call ES with jQuery with this statement
I try to send queries I tested successfully with cURL with jQuery to ES, but the result differs from the result with cURL.
After a Wireshark session I found out, that jQuery sends my query as URL parameters while cURL send the query as JSON in the body of the request as application/x-www-form-urlencoded.
Does someone know how to send a query via jQuery properly to ES?
Currently I call ES with jQuery with this statement
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.