Level 4
Feb 26, 2016 9:53 PM UTC
Solved
Bad Request Error when invoking third party Restful web services via .json
- 6 replies
- 2640 views
- Translate All
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