REST: Difference between revisions

From DataFlex Wiki
Jump to navigationJump to search
m Add categories
m Fix title
Line 15: Line 15:
== External references ==
== External references ==


http://salzlechner.com/dev/2016/03/02/interfacing-dataflex-restful-web-services/
[http://salzlechner.com/dev/2016/03/02/interfacing-dataflex-restful-web-services/ Interfacing DataFlex RESTful web services (Michael Salzlechner)]


[https://support.dataaccess.com/Forums/showthread.php?64503-New-REST-support forum post: New REST support]
[https://docs.google.com/document/d/1N3BvvygKfjKO_5TMosWrR8aahI-5VOz6-z-8jSqA_to/edit?usp=sharing Synergy REST APIs Course Exercise Instructions (by Mike Peat)]


[https://docs.google.com/document/d/1N3BvvygKfjKO_5TMosWrR8aahI-5VOz6-z-8jSqA_to/edit?usp=sharing Building RESTful webservices excercise notes (by Mike Peat)]
[https://support.dataaccess.com/Forums/forumdisplay.php?59-OAuth-RESTFul-amp-Web-API-Integration OAuth Restful & Web API integration forum]


[https://support.dataaccess.com/Forums/forumdisplay.php?59-OAuth-RESTFul-amp-Web-API-Integration OAuth Restful & Web API integration forum]
Source from [https://support.dataaccess.com/Forums/showthread.php?64503-New-REST-support forum post: New REST support]




[[Category:Web Services]]
[[Category:Web Services]]
[[Category:System Integration]]
[[Category:System Integration]]

Revision as of 18:30, 24 June 2019

With DataFlex you can create RESTful web services as well as consume those web services.

Client side

Consuming REST services was made a lot easier since DataFlex 19.0 when it added native JSON support.

Consume a REST service: See cJsonHttpTransfer and JSON Parsing and Transfer

Server side

Creating REST web services has been made easy since DataFlex 19.1 with the introduction of the cWebHttpHandler handler.

You can create a REST service with earlier DataFlex versions, see here for how-to do so in DataFlex 19.0, but it is probably better to use DataFlex 19.1 in that case.

External references

Interfacing DataFlex RESTful web services (Michael Salzlechner)

Synergy REST APIs Course Exercise Instructions (by Mike Peat)

OAuth Restful & Web API integration forum

Source from forum post: New REST support