Test APIs with API Platform API Chat¶
Testing APIs is an essential step in the API development process. API Platform simplifies the testing task by allowing you to engage with your APIs using natural language through API Platform API Chat. It eliminates manual test scenario creation and JSON payload accuracy concerns. It enables easy API communication using human language and requires no coding for handling sequences with multiple resource calls. This makes your API testing efficient and user-friendly.
Info
This feature is available for REST API Proxy components and Service components with REST endpoints.
Follow the steps below to test an API with API Chat:
- Sign in to the API Platform Console.
- Select the project and API which you want to test.
- On the left navigation, click Test and then click API Chat. This opens the API Chat pane.
-
You can enter your query in natural language and execute it. For example, if you have a resource like
The resources are executed sequentially based on your query. Alternatively, you can use the sample queries available to try out API Chat.POST /booksandGET /books, you can input the following query and execute it to obtain results.
