Testing an API Mock App

After creating a Mock app, you can test the REST API against a live endpoint.

Either the defined simple response or advanced response is returned when sending a request.

If you switch to the Simple Mock Response section when Implementing Mock Response Data, the defined simple response is returned; if you switch to the Switch to Advanced Responses section, the defined JavaScript code is returned.

Note: When a simple response is defined, mock response data takes high priority:

Choose one of the following ways to test the REST API: