How can I call an api with both of these options?

http://localserver/api/v4/projects/6/issues?per_page=100&page=1?access_token=TOKENVALUE

I want to call maximum of 100 issues from a private project so it requires token value.
yet the per_page comes with question mark as well so

my query parameters show
per_page = 100
page = 1?access_token=token

how can i split them into individual query?

  • In a URL, the ? (question-mark) character indicates the start of a query string.
  • Multiple parameters can be passed as part of a single query string, separated by & (ampersand) each.

To pass all three of access_token=TOKENVALUE, page=1 and per_page=100 parameters into a single URL, chain them together with & after the ?, following the rule above:

http://localserver/api/v4/projects/6/issues?per_page=100&page=1&access_token=TOKENVALUE

See also: The Deeper dive section on: https://developer.mozilla.org/en-US/docs/Learn/Common_questions/What_is_a_URL