Consume REST service with basic authentication in Mendix 8
Greetings, It seems that Mendix 8 has greatly simplified the consumption of REST services. This documentation is now quite slim and does not mention authentication, should it be needed. I understand that in the past (Mendix 7) one needed to Call the Java action “addCredentialsToNextRequest” on the “Rest services” module. But with Mendix 8 that module is gone. How does it now work? Are we now supposed to manually encode the authentication in the HttpHeader? Thanks! JP
That module hasn’t been needed since Mendix 7, except perhaps for obscure use cases. The default way to consume services is through the Call Rest Service action in a microflow. You can find the documentation here.