Development of Rest API webservice access to your data.
-
- Posts: 605
- Joined: Thu Jan 28, 2010 9:11 pm
- Location: Steven Point, Wisconsin USA
- Contact:
Re: Development of Rest API webservice access to your data.
I have used restful web services also connecting to other sites web api. Now I am working to provide the same style of services to access our data. I see that the json stuff is not yet documented in Xbase++ 2.0. Do you have your functions implemented yet in Express++. I see them mentioned in your post.
Re: Development of Rest API webservice access to your data.
I have attached a small test program that uses DC_Array2Js() and DC_Array2Xml().I see that the json stuff is not yet documented in Xbase++ 2.0. Do you have your functions implemented yet in Express++. I see them mentioned in your post.
Create a new \exp19\samples\web folder and unzip the attached files in that folder.
Run PBUILD RestFul.xpj.
This isn't really a Restful app but it shows how the same data can be rendered in a browse, json or xml.
Here is a CXP application that outputs data in many formats: Text, Html, Json, Xml :
http://bb.donnay-software.com/ds/custom ... omers2.cxp
- Attachments
-
- customers2.zip
- (1.21 KiB) Downloaded 878 times
-
- restful.zip
- (16.97 KiB) Downloaded 919 times
The eXpress train is coming - and it has more cars.
-
- Posts: 605
- Joined: Thu Jan 28, 2010 9:11 pm
- Location: Steven Point, Wisconsin USA
- Contact: