<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: How to use the RestLookupService to make REST API calls? in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/How-to-use-the-RestLookupService-to-make-REST-API-calls/m-p/346945#M235027</link>
    <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/98950"&gt;@sayak17&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You need to configure your&amp;nbsp;&lt;SPAN&gt;RestLookupService with the details of the external REST service that you want to use for lookups and then use the LookupRecord processor in your flow to perform the actual lookups.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The LookupRecord processor takes a reference to the&amp;nbsp;RestLookupService controller service.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;André&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 06 Jul 2022 11:50:53 GMT</pubDate>
    <dc:creator>araujo</dc:creator>
    <dc:date>2022-07-06T11:50:53Z</dc:date>
    <item>
      <title>How to use the RestLookupService to make REST API calls?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-use-the-RestLookupService-to-make-REST-API-calls/m-p/346928#M235021</link>
      <description>&lt;P&gt;I am trying to learn how to use the RestLookupService to make REST API calls. But since it is a controller service, not a processor.. so I need some guidance on which processor I should use.. where I can configure this service. I want to save the response that this service returns to somewhere else..let's say to the local file system...using PutFile.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jul 2022 08:10:04 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-use-the-RestLookupService-to-make-REST-API-calls/m-p/346928#M235021</guid>
      <dc:creator>sayak17</dc:creator>
      <dc:date>2022-07-06T08:10:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to use the RestLookupService to make REST API calls?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-use-the-RestLookupService-to-make-REST-API-calls/m-p/346945#M235027</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/98950"&gt;@sayak17&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You need to configure your&amp;nbsp;&lt;SPAN&gt;RestLookupService with the details of the external REST service that you want to use for lookups and then use the LookupRecord processor in your flow to perform the actual lookups.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The LookupRecord processor takes a reference to the&amp;nbsp;RestLookupService controller service.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;André&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jul 2022 11:50:53 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-use-the-RestLookupService-to-make-REST-API-calls/m-p/346945#M235027</guid>
      <dc:creator>araujo</dc:creator>
      <dc:date>2022-07-06T11:50:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to use the RestLookupService to make REST API calls?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-use-the-RestLookupService-to-make-REST-API-calls/m-p/347077#M235060</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/98950"&gt;@sayak17&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;If you are simply looking to GET from a REST API endpoint and take the response and write to a local file on the server where your NiFi service is running, you'll want to use the &lt;A href="https://nifi.apache.org/docs/nifi-docs/components/org.apache.nifi/nifi-standard-nar/1.16.3/org.apache.nifi.processors.standard.InvokeHTTP/index.html" target="_self"&gt;InvokeHTTP&lt;/A&gt; processor and feed that to your putFile processor.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you found this response assisted with your query, please take a moment to login and click on "&lt;STRONG&gt;Accept as Solution&lt;/STRONG&gt;" below this post.&lt;BR /&gt;&lt;BR /&gt;Thank you,&lt;/P&gt;&lt;P&gt;Matt&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jul 2022 15:51:08 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-use-the-RestLookupService-to-make-REST-API-calls/m-p/347077#M235060</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2022-07-07T15:51:08Z</dc:date>
    </item>
  </channel>
</rss>

