2. RAML make the Request in Anypoint.
Below the example where we start from a new flow, with a HTTP Listener:
3. To consume RESTful WS we add an HTTP Request after our listener:
In Mule Properties Tab of HTTP Request we will create a new Connector, clicking on ‘+’ button
4. We have to indicate RAML file that defines our WS inside the Connector Configuration and in the section of API
Configuration
The informations about host, port and base path fields, values defined in RAML for the properties of RESTful WS
will be imported.
5. In our HTTP Request, after importing RAML, we will be able, in URL settings, to call the paths defined and the
allowed methods in RAML file (RAML example taken by mulesoft.com):
Automatically, also URI Params and Query params with their default values defined in RAML will be
configured in HTTP Request.