NiFi Dynamically create requests for InvokeHTTP

Viewed 1769

New to NiFi!

I have a scenario where I make one rest request and get some data back. The data I receive contains an ID which I need to make subsequent requests. So for example:

InvokeHTTP GET request:

  1. http://localhost:2999/names

result:

[
    {
        id: 123
    },
    {
        id: 345
    }
]

InvokeHTTP GET Request:

  1. http://localhost:2999/id/123/rest/of/url
  2. http://localhost:2999/id/345/rest/of/url

Is there a way for me to assemble the two requests above to pass to InvokeHTTP in NiFi?

Thanks in advance!

1 Answers
Related