[progress Communities] [progress Openedge Abl] Forum Post: Re: Httprequest Builder How To...

  • Thread starter Thread starter David O'Regan
  • Start date Start date
Status
Not open for further replies.
D

David O'Regan

Guest
I came across a similar problem executing a get request on a HTTPS URL. I found that in order to get around this using the OpenEdge RequestBuilder method i had to manually import the cert into $DLC/certs (see KB: 000043064 for more information). For my example i also had to turn of SSL host verification. DEF VAR oLib AS IHttpClientLibrary NO-UNDO. DEF VAR oRequest AS IHttpRequest NO-UNDO. DEF VAR oResponse AS IHttpResponse NO-UNDO. oLib = ClientLibraryBuilder:Build():sslVerifyHost(NO):Library. oRequest = RequestBuilder:Get(oURI):AcceptAll():Request. oResponse = ClientBuilder:Build():UsingLibrary(oLib):Client:Execute(oRequest). Hope this helps.

Continue reading...
 
Status
Not open for further replies.
Back
Top