Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

[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>
Labels (2)
1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

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

View solution in original post

2 Replies
Anonymous
Not applicable
Author

The default url starts with "/services/" not "/" which caused my issue.
Anonymous
Not applicable
Author

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.....

0683p000009MDyG.png