Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

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

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

Tags:
Former Member
Not what you were looking for? View more on this topic or Ask a question