[resolved] Talend ESB Open Source HTTP Method POST not Supported in the URL

I am using Talend Open Source ESB 6.1.1. After my POST APIs are published on the Runtime, the API always returns "HTTP method POST is not supported by this URL" when invoked. The API works fine when run from the studio.
Is there something I need to enable or install to use POST on Karaf?
Below is the full response
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
        <title>Error 405 HTTP method POST is not supported by this URL</title>
    </head>
    <body>
        <h2>HTTP ERROR 405</h2>
        <p>Problem accessing /my/url. Reason:
            <pre>    HTTP method POST is not supported by this URL</pre>
        </p>
        <hr>
        <i>
            <small>Powered by Jetty://</small>
        </i>
        <hr/>

    </body>
</html>
1 ACCEPTED SOLUTION

Accepted Solutions

Re: [resolved] Talend ESB Open Source HTTP Method POST not Supported in the URL

The default url starts with "/services/" not "/" which caused my issue.
2 REPLIES

Re: [resolved] Talend ESB Open Source HTTP Method POST not Supported in the URL

The default url starts with "/services/" not "/" which caused my issue.
Fifteen Stars

Re: [resolved] Talend ESB Open Source HTTP Method POST not Supported in the URL

I just saw this. This is a poorly documented "feature" unfortunately. It can be changed in the Karaf config, but to be honest once you know this is the case, you get used to it. When testing your services in the Studio, it makes sense to use a relative endpoint and adjust the preferences to match what you will get in the Karaf.....

Rilhia Solutions