Nothing beyond the main query read for text search

23 views
Skip to first unread message

meghna...@gmail.com

unread,
Dec 17, 2018, 6:31:35 AM12/17/18
to Freesound API
Hi,

When I try to see a list of sounds for a particular query,

curl -X GET -H "Authorization: Token {{api-key}}" https://freesound.org/apiv2/search/text/?&query=whale&filter=tag:humpback
curl -X GET -H "Authorization: Token {{api-key}}" https://freesound.org/apiv2/search/text/?&query=whale&page=2

The results are identical to apiv2/search/text/?query=whale.

Basically anything beyond the query, any filter or anything following the ampersand doesn't seem to get computed. What could be the matter?

meghna...@gmail.com

unread,
Dec 18, 2018, 1:40:36 AM12/18/18
to Freesound API
I've actually gotten the solution for this: putting the URL in double quotes helps.
Reply all
Reply to author
Forward
0 new messages