1. Pinkesh Gupta
  2. PowerServer 2020 or older (Obsolete)
  3. Tuesday, 5 November 2019 13:27 PM UTC

Is HTTPClient a client side call or server side call as we are not seeing any call on server side for HTTP CLient while calling a REST API from code deployed on Powerser Web ?

 

If client side call then can you please share how security will work as your data can be hacked or CORS can be put in ?

mike S Accepted Answer Pending Moderation
  1. Tuesday, 5 November 2019 14:27 PM UTC
  2. PowerServer 2020 or older (Obsolete)
  3. # 1

it is client side.   See the SecureProtocol setting for the HTTPclient object in help.

Comment
  1. Pinkesh Gupta
  2. Wednesday, 6 November 2019 13:25 PM UTC
Hi Chris,



Thanks for getting back , its one of critical issue our client has raised to increase in network traffic and also they dont want orchestration to be done from Browser , they want to move call REST API call from Server



are you saying call web service using Appeon workaround object and from Web service call a REST Service ?



do we have something in appeon roadmap to provide an object by which we could move call from client to server using Appeon HTTP or Rest Object ?
  1. Helpful
  1. mike S
  2. Wednesday, 6 November 2019 13:47 PM UTC
Chris is saying to write your own web service that runs on the IIS server (or whatever server you want) that simply calls the real web service. you call the web service that is on your internal server which calls the real one.



appeon web already allows you to call soap web apis by using their work arounds object (see workarounds & api guide in the help) . and you can also call .net components that are on the server, and EJB as well.
  1. Helpful
  1. Chris Pollach @Appeon
  2. Wednesday, 6 November 2019 17:03 PM UTC
Hi Pinkesh;

FYI: The newest PowerServer 2019 build 2151 adds support for both the HTTPClient and RESTClient object classes. This now allows your PS Web Apps to perform calls to a RESTful based Web Service (instead of SOAP).

HTH Regards ... Chris
  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.