Can Worklight http adapter load open data format like JSON , xml, csv?

348 views Asked by At

I have a open data link below

http://data.ntpc.gov.tw/NTPC/od/data/api/IMC14?$format=xml

How to create worklight http adapter get json object? Then using json object let it to dojo mobile!

I have ever see a example using jquery link to open data api. But not ever see using dojo mobile link open data.

1

There are 1 answers

2
cnandreu On

Yes. Read the Getting Started modules and try the code samples. Specifically I would recommend:

  • Adapter framework overview
  • HTTP adapter – Communicating with HTTP back-end systems
  • Invoking adapter procedures from client applications.

Also take a look at the documentation here. There's an example with Worklight + Dojo Mobile here.