[Progress Communities] [Progress OpenEdge ABL] Forum Post: REST call

  • Thread starter Thread starter goo
  • Start date Start date
Status
Not open for further replies.
G

goo

Guest
https://test.epayment.nets.eu/Netax...else&transactionId=XXXXa7a4a4d83eb5XX01641257 ...….. When running this from Postman, it Works swell, but when trying to run this from webclient it fails With System.Net.WebException: The underlaying Connection was closed: an unexpected error occourred on a send. Could this be caused by lack of certificate? Is there another way of getting more errorinfo? The code: URIextra = 'Query.apsx?merchantId=' + MerchantID + '&token=' + Token + '&transactionId=' + TransactionId. oURI = new System.Uri(' epayment-test.bbs.no/.../' + URIextra). oWeb = new System.Net.WebClient(). oWeb:Headers:Add("Content-Type", "text/xml"). lcRespons = oWeb:DownloadString(oURI). What am I doing wrong? //Geir Otto

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