Skip to main content

I am unable to get REST API path to anypoint studio while creating HTTP request configuration. I was able to connection anypoint by "Search in Exchange" and able to find out the REST API but when I was trying to open up to get into the Anypoint Studio, instead of get the path to studio, RAML file was getting downloaded to local directory. Please help on how to get the RAML path to anypoint studio.

1 answer
  1. Feb 6, 2018, 8:40 AM

    Hi @svenkat1977 you need to specify the API details as given below sample example.

     

    <http:request-config name="httpRequestConfig" host="${host}" port="${port}" basePath="${base.path}" doc:name="HTTP Request Configuration" responseTimeout="30000" >

    <http:raml-api-configuration location="${raml.path}"/>

    </http:request-config>

     

    Configure the values for host, port, base.path in app.properties file as below.

     

    host=hostname of your api

    port=port number of your api

    base.path = baes path of your api.

     

    Thanks

0/9000