by mikes | Oct 12, 2020 | DataFlex, DataFlex WebApp
A very important part of creating REST APIs is authentication. We need the ability to sedure API endpoints for different callers. Some endpoints are unsecured and can be called anonymously while most other endpoints will require some form of authentication. There are...
by mikes | Oct 11, 2020 | DataFlex, DataFlex WebApp, Uncategorized
In this part of the REST API Library series we will create the order API based on DAWs order entry sample database. We will take a look at additional features such as paging, selections as well as additional features to schemas/models. to get started lets create the...
by mikes | Oct 10, 2020 | DataFlex, DataFlex WebApp, Uncategorized
Most of our APIs will deal with database content of course so lets take a look at how we can build these types of APIs. As a sample database we chose to use DAWs order entry database just because we all have and know it already. To start with an easy one we will...
by mikes | Oct 10, 2020 | DataFlex, DataFlex WebApp
To start lets create a very simple manual REST service. No database involved just a simple service that returns a simple JSON object. To do this we create a Web HTTP handler based on the cszWebAPIController class. lets call it oManualSimpleAPI o show this we modify...
by mikes | Oct 10, 2020 | DataFlex, DataFlex WebApp
We are not going to go over general information on REST services there is plenty of information available. This multi part post is meant to show how to use our open source library to create REST services using DataFlex WebApp. The library helps by hiding the...