Currently our app makes web calls using the Windows OLE object "WinHttp.WinHttpRequest.5.1".
I am looking into possible changing to HttpClient.
We are using the SetClientCertificate method which I don't see in PowerBuilder HttpClient. RestClient doesn't have it either.
Is there a way to accomplish this with the HttpClient object?
https://docs.microsoft.com/en-us/windows/win32/winhttp/iwinhttprequest-setclientcertificate
The problem turned out to be due to the payload being too large. It is in XML format. I suggested to them to allow for JSON which is much smaller. It is also transmitting all data every time rather than just what changed. The other department has control of the web api and the window in the desktop app that sends the data so it is up to them to fix.