Using Query Parameters in API GET requests

bmf614z

Dabbler
Joined
Aug 23, 2019
Messages
10
Hello, I must be doing something very incorrectly.

I'm using this URL path against my FreeNAS server:

$url = "/api/v1.0/account/users/";

it pulls the default limit of 20 users down, great works fine but I need more than 20 users returned so I do this:

$url = "/api/v1.0/account/users?limit=1000";

API returns NULL.

So then I start getting creative and I tried

$url = "/api/v1.0/account/users/limit/1000";

Also returns NULL.

Does anyone know how to send the supported query params to the GET requests in the API?
 
Top