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
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.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.