Choosing correct REST API Design approach

You want to address the following use cases when implementing REST API calls.

1. Subsequent calls do not need to reference previous data

2. If a call fails, there is no need to roll back changes made by earlier steps

Which of these REST API design approaches can you use to achieve this?

  1. Batch APIs
  2. Composite APIs
  3. Either Choice 1 or 2
  4. Neither Choice 1 nor 2

Related Posts