JSON from a get or post request

Stimulsoft Reports.JS discussion
Post Reply
ybrit
Posts: 21
Joined: Fri Oct 30, 2015 11:51 pm

JSON from a get or post request

Post by ybrit »

Can you obtain JSON data form a get or post request to a URL?
Vladimir
Posts: 1462
Joined: Fri Apr 13, 2007 4:05 am
Location: Earth

Re: JSON from a get or post request

Post by Vladimir »

Hello,

Yes, the Reports.JS product supports JSON data adapter. Please download the latest release from our website and check your JSON data source.

Thank you.
ybrit
Posts: 21
Joined: Fri Oct 30, 2015 11:51 pm

Re: JSON from a get or post request

Post by ybrit »

I just found StiDataSet.readJson(obj) and StiDataSet.readJson(string)
It looks like I can do a http request an use the returned data in the report.
I will be learning this today.
ybrit
Posts: 21
Joined: Fri Oct 30, 2015 11:51 pm

Re: JSON from a get or post request

Post by ybrit »

I can not find the downloads for the pre-release JS builds.
I can see the pre-release note but not download.
Jan
Posts: 1265
Joined: Thu Feb 19, 2009 8:19 am

Re: JSON from a get or post request

Post by Jan »

Hello,

At this moment we prepare official release of the Reports.JS each week. So you need download official version. Latest version is 2015.2.4.

Thank you.
Post Reply