Integrate with an External REST API
This chapter describes an efficient and uniform solution to integrate a Hippo web site with an external RESTful API.
The described solution includes a simple REST client with the following features:
- Caching of REST response
- Timeouts to prevent application from becoming unresponsive
- Configuration through CMS UI
- Automatic re-initialization when configuration is modified
The solution is kept lightweight by leveraging frameworks already incorporated in or supported by Hippo's delivery tier.
The following pages describe the solution using the RESTful API in Hippo's GoGreen demo as an example.