NetTalk Central

Author Topic: WebClient and Clickatell  (Read 10575 times)

Johan van Zyl

  • Full Member
  • ***
  • Posts: 180
  • jvz
    • View Profile
    • Email
WebClient and Clickatell
« 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?
Johan van Zyl
Clarion 6.3 9058/C8 Gold/SQL/NetTalk WebServer

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: WebClient and Clickatell
« Reply #1 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