What is a Mock API? With APIs, to mock is to copy or imitate. Mock APIs provide predefined API responses for client applications. For example, think of an application that has a database. We may want to create a mock API for that database that returns example data representations. Therefore, we can take a handful of common data objects from the …