Fix #1524 : API search query is discarded with GET method
Merge pull request #687 from romainneutron/fix-1524

[3.8] Fix #1524 : API search query is discarded with GET method