Quantcast
Channel: SCN: Message List - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 9165

Odata POST showing HTTP 403: Forbidden with Anonymous users. GET call working.

$
0
0

Hi Folks,

 

Could anyone please let me know whether the Odata Post operation do not support using Anonymous users or not.

 

I have done the configuration steps showed in The Application-Access File - SAP HANA Developer Guide for SAP HANA Studio - SAP Library and SAP Hana Anonymous User? And HTTP POST method?

 

Created .xssqlcc file as per the instructions, referred the same in .xsaccess file

 

{

    "exposed": true,

    "anonymous_connection": "demo::anon",

    "authentication" : null,

    "prevent_xsrf": true

 

 

}

 

Also, referred the user details in Hana XS Admin console against the .xssqlcc file.

 

now I am not getting any issue when I am calling the GET method to see the records inside.

 

But I am facing HTTP 403:  Forbidden message when I call the POST method from a rest client.

 

So I just want to confirm whether the POST call supports for Anonymous users or not.

 

 

 

Thanks and Kind Regards,

 

Sourav


Viewing all articles
Browse latest Browse all 9165

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>