Reputation: 283
I've created a personal access token on github, it works when I use it like this:
https://api.github.com/users/xyz/repos?access_token=TOKEN
But it throws Unauthorized
error when I try using Pagination like this:
https://api.github.com/users/xyz/repos?access_token=TOKEN?page=1&per_page=10
Upvotes: 4
Views: 213
Reputation: 1329492
Try and replace the second ?
by &
:
https://api.github.com/users/xyz/repos?access_token=TOKEN&page=1&per_page=10
^^^^^
That should allow you to chain URL parameters.
Upvotes: 2