Mock API data
How to mock APIs automatically?
Specify an endpoint or import an API spec; this endpoint needs to have a specified response.
Copy the mock URL.
In `DESIGN` mo...
What can Apidog mocking do?
Apidog's Mock functionality can fulfill the following requirements:
Return automatically generated data based on the API Spec.
Return the respons...
How to mock fixed API data in Apidog?
If you want an endpoint to return specific data, you can use mock expectations.
In Design-first Mode, you can set expectations in the `Mock` tab o...
How to mock conditional data in Apidog?
If you want an endpoint to return specific data, you can use mock expectations.In DESIGN mode, you can set expectations in the "Advanced mock&quo...
How to enable cloud mock in Apidog?
Cloud mock is an essential feature for teams that require a continuously available mock endpoint. Unlike local mocks, which are served from the user&#...
How to enable self-hosted mock in Apidog?
Self-hosted Runner Mock is an advanced feature that allows teams to provide mock services within internal or private networks. This solution is partic...
Does Apidog support mocking WebSocket APIs?
The current mocking library does not support WebSocket API definitions and therefore cannot generate message bodies based on the definition.
Why Is the Browser Not Returning Content When Requesting the Mock endpoint?
When the browser requests that the mock endpoint does not return content, please confirm the following:
Path matching: Ensure that the URL path you a...