on 10-03-2015 4:38 PM
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
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
Hi Sourav,
- Did you check the trace logs ?
- Have you specified the Content-Type: application/json;charset=utf-8 ?
Content type is necessary for Update,Delete,Create operation
If you still face error, share your xsaccess file..
-Avinash
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
82 | |
10 | |
10 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.