In the sample URL, the following are the path parameters and query parameters:
- {User_ID}: Path parameter for a specific user's ID, which will be replaced by an actual user ID when making the request. For example, https://reqres.in/api/users/2
If you have multiple path parameters that you would define later, you can represent them with an asterisk (*) in the URL structure. For example: https://reqres.in/api/users/{User_ID}/*?query=20
In this URL, {User_ID} indicates the first path parameter, such as a user ID and * indicates any additional path parameters you might add later.
- query=20. A query parameter that consists of a key (query) and a value (20). Query parameters come after the question mark (?) and are used to provide additional data for the request.
Note: API Center doesn't validate the query parameter.
For all custom APIs that were created prior to October 2024 release, you can optionally create another custom managed API to update the path parameter and query parameter values dynamically.
Method
Select an HTTP method for the API from the available list.
Default is GET.
Description
(Optional) Enter a publishing note.
4Click Next.
The Test tab appears.
Optionally, you can change the values of the path parameter and query parameter.
5Click Try it Out! to verify if the URL is valid and reachable.
6Click Next.
The Summary tab displays all the configured details.
7Click Publish.
The published custom API appears on the Published APIs tab in the API Console page.
You can then create a managed API from the published custom API. For more information, see Creating a managed API. You can't test a custom managed API or its operations.