Contact Free trial Login

To Retrieve RAML Files

In this procedure, you view the code of the API specification and dependent files of the workflow that creates, tests, and implements an API. This procedure assumes you are running the API you created during that workflow.

  1. Open a terminal, and enter a curl command to view the RAML code of the API specification, and then enter a curl command to view the contents of the included file:

    • curl http://localhost:8081/console/api/?raml

    • curl http://localhost:8081/console/api/user-example.json?raml

We use cookies to make interactions with our websites and services easy and meaningful, to better understand how they are used and to tailor advertising. You can read more and make your cookie choices here. By continuing to use this site you are giving us your consent to do this.