Utilize the Onetab API to create mock servers that replicate an API's functionality by supplying predetermined data. This simplifies the process of developing or testing your API without needing access to live data. Mock servers within Onetab rely on predefined examples stored in a collection to generate mock data.
Follow the steps below to understand how the mock server and examples work together and seamlessly integrate them into the API workflow.
To begin Create an HTTP GET request that interacts with a designated service, such as the OneTab Echo service. This service facilitates testing for REST or SOAP clients and allows for sample API calls.
To create and dispatch a request:
Open a new tab by clicking on the "+" icon.
Choose GET as the method, and input the desired URL, such as https://onetab.ai/get?test=123.
Click on Send to execute the request.