[
https://issues.apache.org/jira/browse/NIFI-747?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14962679#comment-14962679
]
Tony Kurc commented on NIFI-747:
--------------------------------
After this change, it is the same:
{noformat}
2015-10-18 19:20:34,353 ERROR [Timer-Driven Process Thread-7]
o.a.nifi.processors.standard.PostHTTP
PostHTTP[id=d2d87bed-0f10-4e14-b53a-a9edc98249c4] Failed to Post
StandardFlowFileRecord[uuid=3aed66a1-b8dd-40b9-b95f-b853494dabbd,claim=StandardContentClaim
[resourceClaim=StandardResourceClaim[id=1445210433827-1, container=default,
section=1], offset=0, length=29],offset=0,name=x.txt,size=29] to
http://localhost:12345/contentListener/: response code was 405:HTTP method POST
is not supported by this URL
{noformat}
> ListenHTTP should expose property for the URL path to accept data on
> --------------------------------------------------------------------
>
> Key: NIFI-747
> URL: https://issues.apache.org/jira/browse/NIFI-747
> Project: Apache NiFi
> Issue Type: Improvement
> Components: Extensions
> Reporter: Mark Payne
> Assignee: Tony Kurc
> Labels: beginner, newbie
> Fix For: 0.4.0
>
>
> When using ListenHTTP, you have to post to
> http(s)://<hostname>:<port>/contentListener
> The /contentListener part is often problematic, as it's often mistyped and
> really serves no purpose, since the processor starts an embedded web server
> with only a single servlet.
> We cannot remove the "/contentListener" path because we need to maintain
> backward compatibility. However, we can provide a new property to configure
> it, setting the default to "/contentListener". This way, when a user adds a
> ListenHTTP Processor, he/she can change the path to "/"
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)