cURL
Testing is an essential part of API development. The console simplifies this process by generating cURL commands that you can use to invoke and test your APIs.
Follow these steps to generate a cURL command and test an API operation.
-
Sign in to the API Control Plane Console.
-
Select the project and API you want to test.
-
In the left navigation menu, click Test, then select cURL view.
-
Select the gateway.
-
In the cURL builder, select the HTTP method.
-
Open Query parameters, Headers, or Body and add what the operation needs.
-
Copy the command under cURL command.
-
Run the command in a terminal to invoke the API operation.

Was this page helpful?