Hello Sriram,
you are trying to use the service using the absolute URL. This is not possible because of several reasons, for instance CORS and in your case the limitations you have regarding the usage of the HANA shared trial instance.
For your specific case there is an excellent blog describing all the details you need to reach your goal: How to consume a HANA XS service on the HANA Trial landscape
But you have to consider that you are still using basic authentication in that case. Some follow up topics regarding principal propagation using AppToApp SSO or SAP Assertion Tickets you can find in the following blogs. They are helpful in case you work with a MDC system on the trial system or which a system on an unlimited HCP HANA system.
- AppToAPP SSO Principal Propagation: Principal Propagation between HTML5- or Java-based applications and SAP HANA XS on SAP HANA Cloud Platform
- SAP Assertion Ticked Principal Propagation: Setup SAP Assertion SSO principal propagation from HCP to HANA
Regards,
Florian