Quantcast
Channel: Mendix Forum Questions
Viewing all articles
Browse latest Browse all 83468

Can the current Mendix application call the REST service inside the current Mendix application with the current session without additional authentication?

$
0
0
Dear All, My question is 'Can the current Mendix application call the REST service inside the current Mendix application with the current session without additional authentication?' So far as I know, ticking the 'Active Session' option from the REST service enables calling the REST API inside the current Mendix application with the current session and it doesn't need additional authentication. I remember that we made a sample Mendix application that calls the REST service inside the current Mendix application when we tested the JT viewer, but I could download the project for now from the cloud, but below document describes one use case that calls the REST API from the current Mendix app's JavaScript and it requires 'X-Csrf-Token' specified as a header of the request. https://docs.mendix.com/refguide/published-rest-service/#32-authentication-methods So I added the header to the Call REST activity from the microflow, but it shows an error that says 'Unauthorized'. I appreciate any response.

Viewing all articles
Browse latest Browse all 83468

Trending Articles



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