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

Was this article helpful?

💙 Thanks for your feedback!

Edit on GitHub