NetTalk Central

The Rest Of NetTalk => The Rest - Ask For Help => Topic started by: Johan van Zyl on May 17, 2013, 01:50:58 PM

Title: WebClient and Clickatell
Post by: Johan van Zyl on May 17, 2013, 01:50:58 PM
Using WebClient POST

http://api.clickatell.com/http/getbalance?api_id=xxxx&user=xxxx&password=xxx
will give you this kind of reply:
Credit: 370.000

How  do I get this into say a local variable in NTWS app?
Title: Re: WebClient and Clickatell
Post by: Bruce on May 17, 2013, 10:43:13 PM
Go to the .PageReceived method, after the parent call.

The full text of the response is there in the
self.page
property.

you can parse it using StringTheory, or plain Clarion, or whatever.

Cheers
Bruce