Hi @rajakumare1 , Consider below approach - At a page level, preferably
in a Page component Model you can make an API call and save the API
response in the request object attribute. Specifically like,String
apiResponse = customService.getResponse();// Set the api response to the
request object attributerequest.setAttribute("result", apiResponse); To
reuse this in component, read the attribute value from the request
object itself in the corresponding Sling Model for the component. Sample
code bel...