RAML Interview Questions.In this mule tutorial, here are the most important and common RAML interview questions and answers which are bound to be asked in any Mule ESB interview. |
1. What is RAML and why we use it?
RAML – RESTful API Modeling Language |
2. Who can you import RAML in your poject?
|
3. How a request is validated when we create a project using RAML?
|
4. What all are the HTTP methods that can be configured in RAML?
The HTTP methods are – |
5. Can we have multiple request path in a RAML?
Yes we can have n number of request path in RAML. |
6. Can we have same HTTP methods multiple times for a single request path? No, we can use only 1 HTTP method once for single request path in RAML. Example: If request path is “/users/user” then can only define GET, PUT POST, PATCH or DELETE HTTP methods only once. |
7. How can we make a resource in request path dynamic OR what are URI param?
|
8. Can we make URI parameter optional?
|
9. Can we have request schema in GET and DELETE http methods?
|
10. How can we define headers in RAML?
|
11. How can we import external files in RAML?
|
12. What are collection in RAML?
|
4 Replies