Testing a REST API
You can test a REST API by invoking the REST API URI in postman. Specify the REST API URI with the required method in the format as follows:

You can customize or shorten the base path of the REST API URI by creating URL aliases. To know more about how to create URL aliases, see URL Aliases.
Let's test the SearchCruise REST API, which was imported using a file. In this example, to test whether the SearchCruise API is created successfully, let's search a cruise with cruise ID 00001 using the SearchCruise API. The API response should include the details of the requested cruise.
To test a REST API using Postman