Quantcast
Channel: SCN : Unanswered Discussions - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 5115

HANA XS Application - Post Request

$
0
0

Dear experts,

 

I have created a XS Native application on my HANA environment. If I try to access the app URL using a HTTP GET request, everything works fine.

But if I try to access it using a HTTP POST request, I get an error message:

 

This error (HTTP 405 MethodNotAllowed) means that Internet Explorer was able to connect to the website, but the site has a programming error.


The reason I need to use the HTTP POST request is a limitation of my backend system.


My .xsaccess file currently has the following configuration:


{

     "exposed": true,                   

     "authentication": null,

     "anonymous_connection": "mypackageName::anonUser",

     "cache_control": "must-revalidate",

     "cors": {"enabled" : true},                    

     "enable_etags": false,

     "force_ssl" : false,    

     "prevent_xsrf" : false

}


Is there any other configuration that can be done to allow my app to accept POST requests?


Regards,


Gustavo


Viewing all articles
Browse latest Browse all 5115

Trending Articles



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