How to create an API call using REST in Mendix

I recall my first project required numerous GETS and SETS of data between SAP and the application I was developing. Fortunately, a member of the team was a ‘core developer’ versed in Java and many other languages. He took those requirements and ran with them while I and others focused on the business workflows and front-end of the application.

The configuration of the app was a bit different in that the client didn’t want to use SAP’s Web Services, but instead connect Mendix to an API server that would manage security and connections between SAP and it via Remote Function Calls, or RFC’s. I understood everything about the application...except the magic of the API call. Remember, my background is BI and Analysis: SQL I get but API, JSON, RFC...those were foreign words to me.