Skip to main content

4. Mocks

In Mocks, we need to add a path from the flow requests and the Data.

We usually send requests in Decision and Action nodes, and we need to provide the request's path here.

For Data, we need to add the response from those requests.

For example, let's say we have a request to get all orders, and its path is '$.orders'. We need to write this in the Path field, and for Data, we need to provide its response.

img_6.png

We also have an option to delete Mocks by clicking the Delete icon next to each mock.