How can I make a url that listens for a callback?

I am using the riot games api. The api call is /lol/tournament-stub/v4/providers
the parameters look like this.
I am able to call the api, but i don’t know how to listen to the respons on port 80 or 443.

any idea?