Power Builder - PB RestClient

 
Vista:

PB RestClient

Publicado por antonio (1271 intervenciones) el 31/10/2020 16:56:09
Un saludo a todos:

¿Alguien tiene algún ejemplo en PB con el RestClient?

Necesito bajar información de tipo JSON y mandar requisiciones a una api utilizando un link. Este link requiere usuario y contraseña.

Si alguien tiene un ejemplo o alguna ayuda por favor, se lo agradeceré ya que esto lo tengo que implementar en mi sistema de punto de venta para el módulo de recargas de tiempo aire en celulares.

Agradeciéndoles de antemano su fina atención,
Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder

PB RestClient

Publicado por Gustavo (2 intervenciones) el 01/11/2020 00:39:06
Hola;

Nosotros lo resolvimos con Chilkat PowerBuilder!!!!

Tenés todo resuelto.
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar

PB RestClient

Publicado por Bunker (149 intervenciones) el 02/11/2020 01:31:40
si estas con pb2019r2
habria que ver pues tiene Rest


RESTClient object

The RESTClient object provides the ability to access the RESTful WebAPIs. It loads the JSON-formatted string returned from the RESTful WebService APIs into the DataWindow object. The JSON string returned from theRESTFul Web Service APIs must be in the format described in the section called “Supported JSON formats” in Application Techniques.

The RESTClient object supports compression for the downloaded data,but not for the uploaded data. If the data received from the RESTful webservice is compressed as gzip, it will be automatically decompressed. Onlygzip compression format is supported at this moment. The developer can usethe SetRequestHeader function to set the Accept-Encoding header to allowonly the gzip compression format.
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar