XF 2.2 How to include params with GET method at REST API?

Both of these work for me:

Code:
curl --header "XF-Api-Key: <key>" --request GET "https://site.com/api/forums/2/threads"

curl --header "XF-Api-Key: <key>" --request GET "https://site.com/api/forums/2/?with_threads=true"
 
Top Bottom