Hi, I don't think the ListenHTTP can send an HTTP request to another URL, but it will most likely send an HTTP response to the sender (to say that it received the call)
Otherwise if the URL is in the payload of the call made to ListenHTTP, you could extract it in your Flow and then use InvokeHTTP to send another request to the callback URL. Isn't the response returned by ListenHTTP enough? Will the callback be used to confirm that the flow is completed or something like that? Hope this helps, Louis-Etienne > On Dec 29, 2015, at 4:55 AM, BOUKRAA, Kacem <[email protected]> wrote: > > Hello everyone, > > So i'm subscribing to an API Callback in a Web service that send a post > request once new data is available. I'm receiving this call through PHP. > > Is it possible to trigger a processor to retrieve the whole data and launch > the workflow of processing for that data through another API Call from my PHP > Code? > > (Web service send an API Callback --> My PHP code was listening --> Send an > API call to Nifi to launch a processor with specific attributes) > > Another question: It seems like Nifi has ListenHTTP processor. does it allow > to have an url to be used as a callback (which means is accessible through > the network to be used as a API Callback url?). > > Thanks in advance.
