How to automatically change param for a base URL

I have a base url in the formal of the following xxxxxxxxx.org/api/page and after /page/ follows by the page number /#/ which is a param in postman, Since there are like countless pages i need to send request with, is there a way to automate the process? Great thanks

p.s sorry i am so new to API, basically just 1 hour of experience, so thank you so much for the help

Have you tried searching the forum for โ€œloopsโ€.

If you are new to Postman, I can only suggest a visit to the Learning Centre, otherwise you are going to struggle with any answers\responses that you see.

Get used to the product first, then you can look at more advanced features like loops.

Tip: This can be done with a pre-request script and the setNextRequest() function. You might also want to search on โ€œpaginationโ€.