Im trying to fetch calendar events using Microsoft graph api.(GET /me/calendar/calendarView?startDateTime={start_datetime}&endDateTime={end_datetime}) an Im getting response JSON (which contains first 10 events) url for the next set of events. Im using retrofit to get these events.
URL for the 1st request
and this is url for next of events https://graph.microsoft.com/v1.0/me/calendar/calendarView?startDateTime=2021-03-18T00%3a00%3a00.425Z&endDateTime=2021-03-21T23%3a59%3a00.426Z&%24top=10&%24skip=20
Question here is now how to call th retrofit api in sequential way, every response json have next request url. which I have to use and send new retrofit request.