1. René Guin
  2. PowerServer Mobile
  3. Thursday, 25 July 2019

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.

Zhao Kai Accepted Answer Pending Moderation
0
Votes
Undo

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
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. Marcin Jurkowski
  2. Thursday, 25 July 2019
P.S. The above doesn't work on PowerServer (PB Edition) 2017 R3 Build 1880. Wil it work in 2019?
  1. Marcin Jurkowski
  2. Thursday, 25 July 2019
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. Zhao Kai
  2. Friday, 26 July 2019
There are no comments made yet.
  1. Thursday, 25 July 2019
  2. PowerServer Mobile
  3. # 1
  • Page :
  • 1


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