1. René Guin
  2. PowerServer Mobile (Obsolete)
  3. Thursday, 25 July 2019 05:45 AM UTC

I can use the RestClient object in a mobile application. It works fine when I run the application on my computer but I tried it but when I run the application on the mobile phone it doesn't work.

Kai Zhao @Appeon Accepted Answer Pending Moderation
  1. Thursday, 25 July 2019 08:04 AM UTC
  2. PowerServer Mobile (Obsolete)
  3. # 1

Hi René,

In PowerServer 2019, the RestClient is partially supported by PowerServer Web (please refer to the article in the link below for more details), but not supported by PowerServer Mobile.

In PowerServer 2020, the Web support for RestClient will be improved and there is no plan to support it on PowerServer Mobile currently.

https://www.appeon.com/support/documents/appeon_online_help/ps2019/features_help_for_appeon_web/ch05s02s01.html#RestClient

Regards,
ZhaoKai

Comment
  1. Marcin Jurkowski
  2. Thursday, 25 July 2019 09:34 AM UTC
Hi Zhao,

Can we use HTTPClient instead on Appeon Mobile?

I have a working code for desktop app which doesn't work on Mobile e.g. the below returns 0:

li_rc = http.SendRequest("GET", "https://jsonplaceholder.typicode.com/posts")



0 is not listed as return value on your website so I assume that HTTPClient doesn't work on Appeon Mobile?

https://www.appeon.com/support/documents/appeon_online_help/pb2017r2/powerscript_reference/ch10s536.html
  1. Helpful
  1. Marcin Jurkowski
  2. Thursday, 25 July 2019 09:42 AM UTC
P.S. The above doesn't work on PowerServer (PB Edition) 2017 R3 Build 1880. Wil it work in 2019?
  1. Helpful
  1. Kai Zhao @Appeon
  2. Friday, 26 July 2019 00:23 AM UTC
Hi Marcin,



The Httpclient is new feature added on PowerServer 2019, but not support on PowerServer 2017.

https://www.appeon.com/support/documents/appeon_online_help/ps2019/new_features_guide/ch01s02.html



Regards,

ZhaoKai
  1. Helpful
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.