How to invoke a remote REST service in NiFi

前端 未结 1 829
谎友^
谎友^ 2021-01-19 02:24

Is it possible to use xmlHttpRequest in NIFI processor to invoke remote rest service? In my case the ExecuteScript processor (using Javascript) can\'t evaluate

相关标签:
1条回答
  • 2021-01-19 02:32

    There is an InvokeHttp processor that can be used to invoke a REST service without writing any code:

    https://nifi.apache.org/docs/nifi-docs/components/org.apache.nifi/nifi-standard-nar/1.3.0/org.apache.nifi.processors.standard.InvokeHTTP/index.html

    The response from the service will be written to the contents of the flow file.

    0 讨论(0)
提交回复
热议问题