Trying to make a call into an http api.
the api returns up to 50 records per request. So I will need to do some sort of loop.
I can make the request with an “offset” to get a different set of records.
I figure I need to create and offset variable, then in the do until loop I can increment that variable as I parse each item in the response.
I figure the do until would be something like do until the “offset = “total records”. But I don’t have that number until the first response comes in.
Check out how to claim yours today!
Check out new user group experience and if you are a leader please create your group
Test your skills now with the Cloud Skill Challenge.