Hi,
So I figured to look at the new REST support in DataFlex 19.1.
I must be a bit thick, because there's not a lot to find about it.
Put in "REST" in the index of the help.... No results.
If you go to the "What's New" then there IS some talk about support REST interfaces, but only for the server side and no clickable links.
If you search the page then you'll find a clickable link down the page for "HTTP Request Handler" yay..
Won't help us for implementing this on the client side. No links on that page hinting how-to do so either.
Clicking through to cWebHttpHandler gives a few examples. Again, web service side only.
So... figure to search the examples:
There's an example in the WebOrder workspace, great!
File DemoSimpleRestService.wo has an example..
There's NO view that actually uses this data...
Also expected to find an example in the "Web Services Clients" workspace. Only SOAP there.
Yes I can probably cobble something together using cHttpTransfer ... oh wait... cJsonHttpTransfer
That finally at long last has an example, but it's a bit "thin".
Can we make this easier to find and is it possible to add an example or two on how-to use this new fangled technology?
edit: Now also found this page: JSON Parsing and Transfer that helps, but it is not so easy to locate when you just search for REST!
edit 2: The book "Client Side Web Services" has 0 mentions of JSON / REST.
edit 3: This page "Web Services" also hos no REST mentions, it is as if it doesn't exist
Thanks!
--
Wil