An AEM OSGi bundle invoking a third-party Restful service
The use case in this article is to calculate the distance between two cities, return the data within JSON, parse the JSON using an AEM page component (using JavaScript), and display the results in an AEM web page.
An AEM page that uses a Restful request to calculate the distance between two cities
To calculate the distance between two cities, the Google Distance Matrix API is used. For information about this API, see:
https://developers.google.com/maps/documentation/distancematrix/
To read this article, click http://helpx.adobe.com/experience-manager/using/restful-services.html.
No comments:
Post a Comment
If you have any doubts or questions, please let us know.