Hi Kevin, you are right, my bad. But it was part of the problem. I put (admin,info) as Allowed Path and was getting 404 error.
I just tried .*(admin|info) instead it worked! thanks! On Thu, Jun 14, 2018 at 4:31 PM Kevin Doran <[email protected]> wrote: > Hi Boris, > > > > Are those urls correct? It looks like the path and port are out of place, > e.g.: > > > > localhost:8011/admin > > localhost:8011/info > > > > -Kevin > > > > *From: *Boris Tyukin <[email protected]> > *Reply-To: *<[email protected]> > *Date: *Thursday, June 14, 2018 at 16:26 > *To: *<[email protected]> > *Subject: *HandleHttpRequest and Allowed Paths > > > > Hi, > > > > I am following the example here with a simple web service > > > https://pierrevillard.com/2016/04/10/url-shortener-service-with-apache-nifi/ > > > > and want to make different endpoints like > > localhost/admin:8011 > > localhost/info:8011 > > > > etc. > > > > Looks like I need to set "Allowed Paths" property on HandleHttpRequest > processor but cannot make it work. > > > > it works fine if I call just localhost:8011 > > > > I run NiFi on VM.. > > > > Thanks! >
