{"id":404,"date":"2020-02-15T11:30:25","date_gmt":"2020-02-15T11:30:25","guid":{"rendered":"http:\/\/lhotsetechnologies.com\/blog\/?p=404"},"modified":"2020-06-13T10:06:55","modified_gmt":"2020-06-13T10:06:55","slug":"how-to-make-a-get-request-in-aem-using-apache-fluent","status":"publish","type":"post","link":"https:\/\/lhotsetechnologies.com\/blog\/how-to-make-a-get-request-in-aem-using-apache-fluent\/","title":{"rendered":"How to make a GET request in AEM using Apache Fluent"},"content":{"rendered":"\n<p>In this post, I am making a service of GET request and using that service in a servlet to show the data.<\/p>\n\n\n\n<p>API URL =&nbsp;<a href=\"https:\/\/thesimpsonsquoteapi.glitch.me\/quotes\">https:\/\/thesimpsonsquoteapi.glitch.me\/quotes<\/a><\/p>\n\n\n\n<p>We will hit this URL to get our data inside a service and using Apache Fluent and converting into formatted JSON using Jackson.<\/p>\n\n\n\n<p><strong>Service&nbsp;<\/strong><\/p>\n\n\n\n<p style=\"color:#0846a4\" class=\"has-text-color\">import com.fasterxml.jackson.databind.ObjectMapper;<\/p>\n\n\n\n<p style=\"color:#0846a4\" class=\"has-text-color\">import org.osgi.service.component.annotations.Component;<\/p>\n\n\n\n<p style=\"color:#0846a4\" class=\"has-text-color\">import org.apache.http.client.fluent.Request;<\/p>\n\n\n\n<p style=\"color:#0846a4\" class=\"has-text-color\"><br>import java.io.IOException;<\/p>\n\n\n\n<p style=\"color:#0846a4\" class=\"has-text-color\"><br>@Component(service = ApiService.class, immediate = true)<\/p>\n\n\n\n<p style=\"color:#0846a4\" class=\"has-text-color\">public class ApiService {<\/p>\n\n\n\n<p style=\"color:#0846a4\" class=\"has-text-color\"><br>&nbsp; &nbsp; private static final String apiUrl = &#8220;https:\/\/thesimpsonsquoteapi.glitch.me\/quotes&#8221;;<\/p>\n\n\n\n<p style=\"color:#0846a4\" class=\"has-text-color\"><br>&nbsp; &nbsp; public String getJson() throws IOException {<\/p>\n\n\n\n<p style=\"color:#0846a4\" class=\"has-text-color\"><br>&nbsp; &nbsp; &nbsp; &nbsp; private String content;<\/p>\n\n\n\n<p style=\"color:#0846a4\" class=\"has-text-color\"><br>&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;content = Request.Get(apiUrl).execute().returnContent().toString();<\/p>\n\n\n\n<p style=\"color:#0846a4\" class=\"has-text-color\"><br>&nbsp; &nbsp; &nbsp; &nbsp; ObjectMapper mapper = new ObjectMapper();<\/p>\n\n\n\n<p style=\"color:#0846a4\" class=\"has-text-color\">&nbsp; &nbsp; &nbsp; &nbsp; Object json = mapper.readValue(content, Object.class);<\/p>\n\n\n\n<p style=\"color:#0846a4\" class=\"has-text-color\">&nbsp; &nbsp; &nbsp; &nbsp; String indentedContent = mapper.writerWithDefaultPrettyPrinter().writeValueAsString(json);<\/p>\n\n\n\n<p style=\"color:#0846a4\" class=\"has-text-color\">&nbsp; &nbsp; &nbsp; &nbsp; return indentedContent;<\/p>\n\n\n\n<p style=\"color:#0846a4\" class=\"has-text-color\"><br>&nbsp; &nbsp; }<\/p>\n\n\n\n<p style=\"color:#0846a4\" class=\"has-text-color\">}<\/p>\n\n\n\n<p><br><strong>Servlet<\/strong><\/p>\n\n\n\n<p style=\"color:#0846a4\" class=\"has-text-color\"><br>import com.infield.aem.challenge.core.services.ApiService;<\/p>\n\n\n\n<p style=\"color:#0846a4\" class=\"has-text-color\">import org.apache.sling.api.SlingHttpServletRequest;<\/p>\n\n\n\n<p style=\"color:#0846a4\" class=\"has-text-color\">import org.apache.sling.api.SlingHttpServletResponse;<\/p>\n\n\n\n<p style=\"color:#0846a4\" class=\"has-text-color\">import org.apache.sling.api.servlets.SlingSafeMethodsServlet;<\/p>\n\n\n\n<p style=\"color:#0846a4\" class=\"has-text-color\">import org.osgi.service.component.annotations.Component;<\/p>\n\n\n\n<p style=\"color:#0846a4\" class=\"has-text-color\">import org.osgi.service.component.annotations.Reference;<\/p>\n\n\n\n<p style=\"color:#0846a4\" class=\"has-text-color\"><br>import javax.servlet.Servlet;<\/p>\n\n\n\n<p style=\"color:#0846a4\" class=\"has-text-color\">import java.io.IOException;<\/p>\n\n\n\n<p style=\"color:#0846a4\" class=\"has-text-color\">import java.io.PrintWriter;<\/p>\n\n\n\n<p style=\"color:#0846a4\" class=\"has-text-color\"><br>@Component(service = Servlet.class, property = {&#8220;service.description=Api Servlet&#8221;,<\/p>\n\n\n\n<p style=\"color:#0846a4\" class=\"has-text-color\">&nbsp; &nbsp; &nbsp; &nbsp; &#8220;sling.servlet.paths=\/bin\/api.json&#8221;,<\/p>\n\n\n\n<p style=\"color:#0846a4\" class=\"has-text-color\">&nbsp; &nbsp; &nbsp; &nbsp; &#8220;sling.servlet.extensions=json&#8221;<\/p>\n\n\n\n<p style=\"color:#0846a4\" class=\"has-text-color\">})<\/p>\n\n\n\n<p style=\"color:#0846a4\" class=\"has-text-color\">public class ApiServlet extends SlingSafeMethodsServlet {<\/p>\n\n\n\n<p><br>&nbsp; &nbsp; \/\/ calling the service using @Reference annotation.<\/p>\n\n\n\n<p style=\"color:#0846a4\" class=\"has-text-color\">&nbsp; &nbsp; @Reference<\/p>\n\n\n\n<p style=\"color:#0846a4\" class=\"has-text-color\">&nbsp; &nbsp; private ApiService apiService;<\/p>\n\n\n\n<p style=\"color:#0846a4\" class=\"has-text-color\"><br>&nbsp; &nbsp; @Override<\/p>\n\n\n\n<p style=\"color:#0846a4\" class=\"has-text-color\">&nbsp; &nbsp; protected void doGet(final SlingHttpServletRequest req, final SlingHttpServletResponse response) throws IOException {<\/p>\n\n\n\n<p style=\"color:#0846a4\" class=\"has-text-color\"><br>&nbsp; &nbsp; &nbsp; &nbsp; PrintWriter out = response.getWriter();<\/p>\n\n\n\n<p style=\"color:#0846a4\" class=\"has-text-color\">&nbsp; &nbsp; &nbsp; &nbsp; out.println(apiService.getJson());<\/p>\n\n\n\n<p style=\"color:#0846a4\" class=\"has-text-color\"><br>&nbsp; &nbsp; }<\/p>\n\n\n\n<p style=\"color:#0846a4\" class=\"has-text-color\">}<\/p>\n\n\n\n<p><br>After that build your project on your local AEM instance and hit URL&#8212;<\/p>\n\n\n\n<p><a href=\"http:\/\/localhost:4502\/bin\/api.json\">http:\/\/localhost:4502\/bin\/api.json<\/a><\/p>\n\n\n\n<p><br>Then the output will be shown like this<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh6.googleusercontent.com\/uC48kRAYsf_79CGPoy7LbCA_g9iY8GpvuVvNzZm5jMXkT_npwbxbE0-rMQc4EZTU6ux_er5g1HXOOSjyUEq-Y8jjGJxjY-i1JZOgMYTXFRm1UrbUUvejMgJ-trJKrA01rHtC_bsJ\" alt=\"\"\/><\/figure>\n\n\n\n<p>Note &#8211;&gt; Data in JSON can be random.<\/p>\n\n\n\n<p><br><strong>@Reference<\/strong><\/p>\n\n\n\n<p><a href=\"https:\/\/hc.apache.org\/httpcomponents-client-ga\/tutorial\/html\/fluent.html\">https:\/\/hc.apache.org\/httpcomponents-client-ga\/tutorial\/html\/fluent.html<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this post, I am making a service of GET request and using that service in a servlet to show [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2,263],"tags":[269,264,270],"class_list":["post-404","post","type-post","status-publish","format-standard","hentry","category-aem","category-apache-fluent","tag-aem","tag-https-hc-apache-org-httpcomponents-client-ga-tutorial-html-fluent-html","tag-get-request-in-aem-using-apache-fluent"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.9 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to make a GET request in AEM using Apache Fluent - AEM Blog | Lhotse Technologies<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/lhotsetechnologies.com\/blog\/how-to-make-a-get-request-in-aem-using-apache-fluent\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to make a GET request in AEM using Apache Fluent - AEM Blog | Lhotse Technologies\" \/>\n<meta property=\"og:description\" content=\"In this post, I am making a service of GET request and using that service in a servlet to show [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/lhotsetechnologies.com\/blog\/how-to-make-a-get-request-in-aem-using-apache-fluent\/\" \/>\n<meta property=\"og:site_name\" content=\"AEM Blog | Lhotse Technologies\" \/>\n<meta property=\"article:published_time\" content=\"2020-02-15T11:30:25+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-06-13T10:06:55+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/lh6.googleusercontent.com\/uC48kRAYsf_79CGPoy7LbCA_g9iY8GpvuVvNzZm5jMXkT_npwbxbE0-rMQc4EZTU6ux_er5g1HXOOSjyUEq-Y8jjGJxjY-i1JZOgMYTXFRm1UrbUUvejMgJ-trJKrA01rHtC_bsJ\" \/>\n<meta name=\"author\" content=\"Shivam Kumar Chauhan\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Shivam Kumar Chauhan\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/lhotsetechnologies.com\/blog\/how-to-make-a-get-request-in-aem-using-apache-fluent\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/lhotsetechnologies.com\/blog\/how-to-make-a-get-request-in-aem-using-apache-fluent\/\"},\"author\":{\"name\":\"Shivam Kumar Chauhan\",\"@id\":\"https:\/\/lhotsetechnologies.com\/blog\/#\/schema\/person\/b8eb4eeb9ca844d32b54de183c946afc\"},\"headline\":\"How to make a GET request in AEM using Apache Fluent\",\"datePublished\":\"2020-02-15T11:30:25+00:00\",\"dateModified\":\"2020-06-13T10:06:55+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/lhotsetechnologies.com\/blog\/how-to-make-a-get-request-in-aem-using-apache-fluent\/\"},\"wordCount\":355,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/lhotsetechnologies.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/lhotsetechnologies.com\/blog\/how-to-make-a-get-request-in-aem-using-apache-fluent\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/lh6.googleusercontent.com\/uC48kRAYsf_79CGPoy7LbCA_g9iY8GpvuVvNzZm5jMXkT_npwbxbE0-rMQc4EZTU6ux_er5g1HXOOSjyUEq-Y8jjGJxjY-i1JZOgMYTXFRm1UrbUUvejMgJ-trJKrA01rHtC_bsJ\",\"keywords\":[\"AEM\",\"Apache Fluent\",\"Get request in AEM using apache fluent\"],\"articleSection\":[\"AEM\",\"Apache Fluent\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/lhotsetechnologies.com\/blog\/how-to-make-a-get-request-in-aem-using-apache-fluent\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/lhotsetechnologies.com\/blog\/how-to-make-a-get-request-in-aem-using-apache-fluent\/\",\"url\":\"https:\/\/lhotsetechnologies.com\/blog\/how-to-make-a-get-request-in-aem-using-apache-fluent\/\",\"name\":\"How to make a GET request in AEM using Apache Fluent - AEM Blog | Lhotse Technologies\",\"isPartOf\":{\"@id\":\"https:\/\/lhotsetechnologies.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/lhotsetechnologies.com\/blog\/how-to-make-a-get-request-in-aem-using-apache-fluent\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/lhotsetechnologies.com\/blog\/how-to-make-a-get-request-in-aem-using-apache-fluent\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/lh6.googleusercontent.com\/uC48kRAYsf_79CGPoy7LbCA_g9iY8GpvuVvNzZm5jMXkT_npwbxbE0-rMQc4EZTU6ux_er5g1HXOOSjyUEq-Y8jjGJxjY-i1JZOgMYTXFRm1UrbUUvejMgJ-trJKrA01rHtC_bsJ\",\"datePublished\":\"2020-02-15T11:30:25+00:00\",\"dateModified\":\"2020-06-13T10:06:55+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/lhotsetechnologies.com\/blog\/how-to-make-a-get-request-in-aem-using-apache-fluent\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/lhotsetechnologies.com\/blog\/how-to-make-a-get-request-in-aem-using-apache-fluent\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/lhotsetechnologies.com\/blog\/how-to-make-a-get-request-in-aem-using-apache-fluent\/#primaryimage\",\"url\":\"https:\/\/lh6.googleusercontent.com\/uC48kRAYsf_79CGPoy7LbCA_g9iY8GpvuVvNzZm5jMXkT_npwbxbE0-rMQc4EZTU6ux_er5g1HXOOSjyUEq-Y8jjGJxjY-i1JZOgMYTXFRm1UrbUUvejMgJ-trJKrA01rHtC_bsJ\",\"contentUrl\":\"https:\/\/lh6.googleusercontent.com\/uC48kRAYsf_79CGPoy7LbCA_g9iY8GpvuVvNzZm5jMXkT_npwbxbE0-rMQc4EZTU6ux_er5g1HXOOSjyUEq-Y8jjGJxjY-i1JZOgMYTXFRm1UrbUUvejMgJ-trJKrA01rHtC_bsJ\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/lhotsetechnologies.com\/blog\/how-to-make-a-get-request-in-aem-using-apache-fluent\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/lhotsetechnologies.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to make a GET request in AEM using Apache Fluent\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/lhotsetechnologies.com\/blog\/#website\",\"url\":\"https:\/\/lhotsetechnologies.com\/blog\/\",\"name\":\"AEM Blog | Lhotse Technologies\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/lhotsetechnologies.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/lhotsetechnologies.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/lhotsetechnologies.com\/blog\/#organization\",\"name\":\"AEM Blog | Lhotse Technologies\",\"url\":\"https:\/\/lhotsetechnologies.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/lhotsetechnologies.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/lhotsetechnologies.com\/blog\/wp-content\/uploads\/2019\/07\/lhotse-logo.png\",\"contentUrl\":\"https:\/\/lhotsetechnologies.com\/blog\/wp-content\/uploads\/2019\/07\/lhotse-logo.png\",\"width\":539,\"height\":172,\"caption\":\"AEM Blog | Lhotse Technologies\"},\"image\":{\"@id\":\"https:\/\/lhotsetechnologies.com\/blog\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/lhotsetechnologies.com\/blog\/#\/schema\/person\/b8eb4eeb9ca844d32b54de183c946afc\",\"name\":\"Shivam Kumar Chauhan\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/lhotsetechnologies.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/2f5546b9c2e40950ed53a7c2b059fdc37faa2a27d1faa038b2701bba8112e1ad?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/2f5546b9c2e40950ed53a7c2b059fdc37faa2a27d1faa038b2701bba8112e1ad?s=96&d=mm&r=g\",\"caption\":\"Shivam Kumar Chauhan\"},\"url\":\"https:\/\/lhotsetechnologies.com\/blog\/author\/shivam\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to make a GET request in AEM using Apache Fluent - AEM Blog | Lhotse Technologies","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/lhotsetechnologies.com\/blog\/how-to-make-a-get-request-in-aem-using-apache-fluent\/","og_locale":"en_US","og_type":"article","og_title":"How to make a GET request in AEM using Apache Fluent - AEM Blog | Lhotse Technologies","og_description":"In this post, I am making a service of GET request and using that service in a servlet to show [&hellip;]","og_url":"https:\/\/lhotsetechnologies.com\/blog\/how-to-make-a-get-request-in-aem-using-apache-fluent\/","og_site_name":"AEM Blog | Lhotse Technologies","article_published_time":"2020-02-15T11:30:25+00:00","article_modified_time":"2020-06-13T10:06:55+00:00","og_image":[{"url":"https:\/\/lh6.googleusercontent.com\/uC48kRAYsf_79CGPoy7LbCA_g9iY8GpvuVvNzZm5jMXkT_npwbxbE0-rMQc4EZTU6ux_er5g1HXOOSjyUEq-Y8jjGJxjY-i1JZOgMYTXFRm1UrbUUvejMgJ-trJKrA01rHtC_bsJ","type":"","width":"","height":""}],"author":"Shivam Kumar Chauhan","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Shivam Kumar Chauhan","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/lhotsetechnologies.com\/blog\/how-to-make-a-get-request-in-aem-using-apache-fluent\/#article","isPartOf":{"@id":"https:\/\/lhotsetechnologies.com\/blog\/how-to-make-a-get-request-in-aem-using-apache-fluent\/"},"author":{"name":"Shivam Kumar Chauhan","@id":"https:\/\/lhotsetechnologies.com\/blog\/#\/schema\/person\/b8eb4eeb9ca844d32b54de183c946afc"},"headline":"How to make a GET request in AEM using Apache Fluent","datePublished":"2020-02-15T11:30:25+00:00","dateModified":"2020-06-13T10:06:55+00:00","mainEntityOfPage":{"@id":"https:\/\/lhotsetechnologies.com\/blog\/how-to-make-a-get-request-in-aem-using-apache-fluent\/"},"wordCount":355,"commentCount":0,"publisher":{"@id":"https:\/\/lhotsetechnologies.com\/blog\/#organization"},"image":{"@id":"https:\/\/lhotsetechnologies.com\/blog\/how-to-make-a-get-request-in-aem-using-apache-fluent\/#primaryimage"},"thumbnailUrl":"https:\/\/lh6.googleusercontent.com\/uC48kRAYsf_79CGPoy7LbCA_g9iY8GpvuVvNzZm5jMXkT_npwbxbE0-rMQc4EZTU6ux_er5g1HXOOSjyUEq-Y8jjGJxjY-i1JZOgMYTXFRm1UrbUUvejMgJ-trJKrA01rHtC_bsJ","keywords":["AEM","Apache Fluent","Get request in AEM using apache fluent"],"articleSection":["AEM","Apache Fluent"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/lhotsetechnologies.com\/blog\/how-to-make-a-get-request-in-aem-using-apache-fluent\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/lhotsetechnologies.com\/blog\/how-to-make-a-get-request-in-aem-using-apache-fluent\/","url":"https:\/\/lhotsetechnologies.com\/blog\/how-to-make-a-get-request-in-aem-using-apache-fluent\/","name":"How to make a GET request in AEM using Apache Fluent - AEM Blog | Lhotse Technologies","isPartOf":{"@id":"https:\/\/lhotsetechnologies.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/lhotsetechnologies.com\/blog\/how-to-make-a-get-request-in-aem-using-apache-fluent\/#primaryimage"},"image":{"@id":"https:\/\/lhotsetechnologies.com\/blog\/how-to-make-a-get-request-in-aem-using-apache-fluent\/#primaryimage"},"thumbnailUrl":"https:\/\/lh6.googleusercontent.com\/uC48kRAYsf_79CGPoy7LbCA_g9iY8GpvuVvNzZm5jMXkT_npwbxbE0-rMQc4EZTU6ux_er5g1HXOOSjyUEq-Y8jjGJxjY-i1JZOgMYTXFRm1UrbUUvejMgJ-trJKrA01rHtC_bsJ","datePublished":"2020-02-15T11:30:25+00:00","dateModified":"2020-06-13T10:06:55+00:00","breadcrumb":{"@id":"https:\/\/lhotsetechnologies.com\/blog\/how-to-make-a-get-request-in-aem-using-apache-fluent\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/lhotsetechnologies.com\/blog\/how-to-make-a-get-request-in-aem-using-apache-fluent\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/lhotsetechnologies.com\/blog\/how-to-make-a-get-request-in-aem-using-apache-fluent\/#primaryimage","url":"https:\/\/lh6.googleusercontent.com\/uC48kRAYsf_79CGPoy7LbCA_g9iY8GpvuVvNzZm5jMXkT_npwbxbE0-rMQc4EZTU6ux_er5g1HXOOSjyUEq-Y8jjGJxjY-i1JZOgMYTXFRm1UrbUUvejMgJ-trJKrA01rHtC_bsJ","contentUrl":"https:\/\/lh6.googleusercontent.com\/uC48kRAYsf_79CGPoy7LbCA_g9iY8GpvuVvNzZm5jMXkT_npwbxbE0-rMQc4EZTU6ux_er5g1HXOOSjyUEq-Y8jjGJxjY-i1JZOgMYTXFRm1UrbUUvejMgJ-trJKrA01rHtC_bsJ"},{"@type":"BreadcrumbList","@id":"https:\/\/lhotsetechnologies.com\/blog\/how-to-make-a-get-request-in-aem-using-apache-fluent\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/lhotsetechnologies.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to make a GET request in AEM using Apache Fluent"}]},{"@type":"WebSite","@id":"https:\/\/lhotsetechnologies.com\/blog\/#website","url":"https:\/\/lhotsetechnologies.com\/blog\/","name":"AEM Blog | Lhotse Technologies","description":"","publisher":{"@id":"https:\/\/lhotsetechnologies.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/lhotsetechnologies.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/lhotsetechnologies.com\/blog\/#organization","name":"AEM Blog | Lhotse Technologies","url":"https:\/\/lhotsetechnologies.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/lhotsetechnologies.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/lhotsetechnologies.com\/blog\/wp-content\/uploads\/2019\/07\/lhotse-logo.png","contentUrl":"https:\/\/lhotsetechnologies.com\/blog\/wp-content\/uploads\/2019\/07\/lhotse-logo.png","width":539,"height":172,"caption":"AEM Blog | Lhotse Technologies"},"image":{"@id":"https:\/\/lhotsetechnologies.com\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/lhotsetechnologies.com\/blog\/#\/schema\/person\/b8eb4eeb9ca844d32b54de183c946afc","name":"Shivam Kumar Chauhan","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/lhotsetechnologies.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/2f5546b9c2e40950ed53a7c2b059fdc37faa2a27d1faa038b2701bba8112e1ad?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/2f5546b9c2e40950ed53a7c2b059fdc37faa2a27d1faa038b2701bba8112e1ad?s=96&d=mm&r=g","caption":"Shivam Kumar Chauhan"},"url":"https:\/\/lhotsetechnologies.com\/blog\/author\/shivam\/"}]}},"_links":{"self":[{"href":"https:\/\/lhotsetechnologies.com\/blog\/wp-json\/wp\/v2\/posts\/404","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lhotsetechnologies.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lhotsetechnologies.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lhotsetechnologies.com\/blog\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/lhotsetechnologies.com\/blog\/wp-json\/wp\/v2\/comments?post=404"}],"version-history":[{"count":7,"href":"https:\/\/lhotsetechnologies.com\/blog\/wp-json\/wp\/v2\/posts\/404\/revisions"}],"predecessor-version":[{"id":411,"href":"https:\/\/lhotsetechnologies.com\/blog\/wp-json\/wp\/v2\/posts\/404\/revisions\/411"}],"wp:attachment":[{"href":"https:\/\/lhotsetechnologies.com\/blog\/wp-json\/wp\/v2\/media?parent=404"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lhotsetechnologies.com\/blog\/wp-json\/wp\/v2\/categories?post=404"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lhotsetechnologies.com\/blog\/wp-json\/wp\/v2\/tags?post=404"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}