- erwin monreal
- PowerBuilder
- Monday, 3 May 2021 08:46 AM UTC
Hi
We currently have a powerbuilder app that gets and posts data via webapi with JWT authentication
working sample code is below:
lnv.SetRequestHeader("Authorization","Bearer "+ ls_token)
lnv.SendRequest("POST","https://beta.mycomp.com/getvalues",as_jsondata, EncodingUTF8!)
it works great so far.
The problem is there is a recent requirement to use a proxy server to be able to make calls.
I was given a proxy server and a port (ex. 10.11.12.13:3128)
Does anyone know how to incorporate this into the httpclient? or how to implement this in the app itself.
in .NET it seems the proxy is integrated on instantiation of the client but there is no such option in powerbuilder.
Erw
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.