Skip to content

Commit

Permalink
Prefer POST for Suggest endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
polyfractal committed Feb 2, 2017
1 parent a2744b4 commit aae7019
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Elasticsearch/Endpoints/Suggest.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,6 @@ public function getBody()
*/
public function getMethod()
{
return 'GET';
return 'POST';
}
}

0 comments on commit aae7019

Please sign in to comment.