vendredi 24 juin 2022

Iterating over an Service API with different request

I have a requirement of to run a script which iterates over an existing API of a service with different requests. We could write it for a single API, I wanted to create a pattern out of it and reuse the iterating logic to any API with writing the boilerplate code of iterating every time. Can you pl. suggest an applicable design pattern or any other way we can generalise this .

Programming language : preferably Java

Aucun commentaire:

Enregistrer un commentaire