some things but nothing looks right.
What logic I can apply here?
Basically I have a list with values that need be sent to API
Example: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]
I send the whole list
if get error, I send [1,2,3,4,5,6]
if get error, I send [1,2,3]
if get error, I send [1]
And after the last possiblity, I need send other cut part of list recursively for all possibilities.
What's the criteria? What do the numbers mean?
So is the API going receive each request from the list separately, or is the list a request?
Обсуждают сегодня