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

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

Accepted Solutions
Highlighted

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.

All Replies
Highlighted

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

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

2019 GARNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

An API-First Approach to Modernizing Applications

Learn how to use an API-First Approach to Modernize your Applications

Watch Now

Talend API Designer – Technical Overview

Take a look at this technical overview video of Talend API Designer

Watch Now

Getting Started with APIs

Find out how to get started with APIs

Read