Level 4
February 26, 2016
Solved
Bad Request Error when invoking third party Restful web services via .json
- February 26, 2016
- 6 replies
- 2587 views
Hi Experts,
We are creating Adobe Experience Manager bundles that invoke third party Restful web services.
To create the AEM client that displays data returned by the Restful service, created these files:
- query.json.jsp: that contains application logic that calls the OSGi bundle's getDistance method.
- component.jsp: that contains application logic that parses the JSON data and displays data returned by the getDistance method.
Now, When trying to excute it then it is throwing the BAD Request. Do we need to do any configuration for it?
GET http://localhost:4502/content/aemexample/en/restwebservicetest/_jcr_content.query.json
Attached screen of errors
Thanks
~S
