[PHP - Curl] Handling pagination with acces_token

Community Member

Hi there!


I would like to retrieve +100 students per account and per page.

According to Canvas API documentation, "The one exception is that if an access_token parameter is sent for authentication,"

I always send the acces_token for authentication; if I would remove it, then no api call is done.

How to receive a Link header in order to iterate through pages with the access_token parameter? I have checked the response from curl but it doesn't contain this piece of information

I used Postman but, again, this program only retrieves 100 results, not 500,000 (yes, I am exaggerating but only for testing purposes).


Best regards.