- Waine Abreu
- PowerBuilder
- Monday, 8 May 2023 12:26 PM UTC
Hi everyone,
I'm having trouble migrate SOAP to REST.
We have some PB Soap WS.
We are migrating to PB 22 and we need to use REST.
Its not getting info of our website to datawindow. I'm a bit lost because i made connection of database in json file, but i'm not there is something else or if it's not making authentication on ourwebsite.
PB22 code.
lnv_restclient = CREATE RESTClient
lnv_restclient.SetClientCert( 'login', 'password')
lnv_restclient.Setrequestheaders("Content-Type:application/json;charset=UTF-8~r~nAccept-Encoding:gzip")
ll_rc = lnv_restclient.Retrieve (dw_aplication , 'http://webapps...')
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.