WebAPI JSON to DataWindow

* Appeon *
CODE AUTHOR
Posts: 159
 5 years 9 months ago -  3 years 9 months ago #82 by * Appeon *
* Appeon * created the code: WebAPI JSON to DataWindow
This sample shows how you can interacts with WebAPI addresses by calling the HttpClient and JsonParser objects.

Development Requirements:
IDE: PowerBuiler 2017 R2 or above

This message has an attachment file.
Please log in or register to see it.

Last Edit: 3 years 9 months ago by  * Appeon *Reason: Update Demo

Please Log in or Create an account to join the conversation.

Systeembeheer SFR
 3 years 7 months ago #337 by Systeembeheer SFR
Systeembeheer SFR replied the code: WebAPI JSON to DataWindow
hi
Just to update: it's working now
After installing Appeon Workspace build 2670 it worked. Still have to install R3 PB but now I va got a working scipt, even reading the scale over the WiFi.
Thanks for the help

Please Log in or Create an account to join the conversation.

Systeembeheer SFR
 3 years 7 months ago #336 by Systeembeheer SFR
Systeembeheer SFR replied the code: WebAPI JSON to DataWindow
hi
Just to update: it's working now
After installing Appeon Workspace build 2670 it worked. Still have to install R3 PB but now I va got a working scipt, even reading the scale over the WiFi.
Thanks for the help

Please Log in or Create an account to join the conversation.

Govinda Lopez @Appeon
 3 years 8 months ago -  3 years 8 months ago #335 by Govinda Lopez @Appeon
Govinda Lopez @Appeon replied the code: WebAPI JSON to DataWindow
Hi Systeembeheer SFR,

It might seem that your URL contains a private IP. If that is the case you might want to double check that your mobile device is in the same network and can access that URL. If this is the case, then you might want to try using the HTTPClient and/or open a support ticket instead.

You can also take this question to the community's Q&A section too. That way you can also get more suggestions too.

The Inet object and its GetUrl() function are both supported in the latest version of PowerServer Mobile. (docs.appeon.com/ps2020/features_help_for...le.html#Objects_Inet)


Regards,

Last Edit: 3 years 8 months ago by  Govinda Lopez @AppeonReason: Added more content

Please Log in or Create an account to join the conversation.