You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, using the size or from parameters in search function, I had this error:
{ "error" : "Content-Type header [application/x-www-form-urlencoded] is not supported", "status" : 406 }
Except error on my part, to solve this problem one would have to add in the "call" function of the class ElasticSearch\Transport\HTTP curl_setopt($conn, CURLOPT_HTTPHEADER, array('Content-Type: application/json'));
Thank you
cordially
The text was updated successfully, but these errors were encountered:
Hello, using the size or from parameters in search function, I had this error:
{ "error" : "Content-Type header [application/x-www-form-urlencoded] is not supported", "status" : 406 }
Except error on my part, to solve this problem one would have to add in the "call" function of the class ElasticSearch\Transport\HTTP
curl_setopt($conn, CURLOPT_HTTPHEADER, array('Content-Type: application/json'));
Thank you
cordially
The text was updated successfully, but these errors were encountered: