Discussions tagged HTTPClient

Hi all. Need a little help here, newer done this before. Any help or steering in the right direction will be greatly appreciated. Appeon Powerbuilder 2019R2 Build 2353. Need to push .xml file using presigned url into s3 bucket using existing api ...
Odd issue that's been plaguing me for awhile now. I'm trying to authenticate against ping access (grab a token) so that I can call a rest api with that token. Here's the powerbuilder code:  Constant Integer SECURE_PROTOCOL_TLS = 5 //Set TLS to 1...
We are using PowerBuilder 2017 R3 and want to enable anonymous authentication similar to what we have in PowerBuilder 2022 below code. Is there any option available in PowerBuilder 2017 R3 to achieve the same? Any help is highly appreciated. Thanks...
Hi there,   I need to call a webservice using HTTPclient. The service have several parameters (strings) and one parameter should contain XML-query. When post with XML-query 400/Bad request is returned. With empty parameter 200/Ok is returned. Ho...
Hello Using PB 2022 B 1900, Postgresql 15 Need to update image in a database field (bytea datatype).   Need to send the image along with the key field(s).  How to send it?  Weng through https://community.appeon.com/index.php/qna/q-a/using-rest-clie...
How to replicate this request curl --location 'http://localhost:34020/api/processor' \ --header 'IE-INTERFACE_VERSION: 1.11' \ --header 'IE-SERVER_TYPE: BGExtractor' \ --header 'IE-JOB_ID: 42' \ --header 'IE-RESULT_TYPE: PNG' \ --header 'IE-PRO...
Hello, PB 2021 - 1509 Is it possible to send files with REST client or do I have to use Http client? If I want to use RESTclient should I convert blob to string and then send this string with SendPostRequest function? Thank you for your answers an...
I'm trying to use the HttpClient object to get an image from an IP Camera.  Using the object for one type of camera works, but a different camera has different parameters that bring back a Http 401 error.   I pass in the IP Address of the camera.  T...
  Hello Appeon Support,   Good day!!!   I need your help, I currently working on a SMS blast project... I am using the HTTPClient and successfully retrieve the token, however,  I cannot send data using POST method to send SMS to the server...  ...
  HI APPEON Support,   Good day... I need your help badly... I am new in API and REST... need guidance. Our company is implementing SMS Blast..   Authentication is give by the provider company.   Basic Authentication in the HTTP head...
Hi There, When using HTTPClient to consume SOAP WebService, is there any built in power builder function available in 2019 R3 version to get the response boolean value (True / Failse) as a response from WebService. Regards, Durai Raj...
Preparing to migrate our app to PB 2022, rewriting code using the discontinued SOAPConnection to use HTTPClient object.  Existing code uses conn.useintegratedwindowsauthentication(true) to connect with integrated windows authentication. How can this...
I am using the European VIES API to check the VAT number of European customers. I send the country and vat number and get back a response. All works well except for the main country that I need and that is Greece which returns the result in Greek. ...
I'm having some problems connecting to an old Radius server that is stuck on TLS1.0 I'm getting error -19 in HTTPClient mode and -33 in RESTClient = "TLS 1.3 error. The server does not support TLS 1.3." I've set both SecureProtocol and IgnoreServer...
Hello friends, I'm trying to address a WEB service with an httpclient-object and the get-method, but I always get the status message 401. I'm using the following code: HttpClient lnv_HttpClientlnv_HttpClient = Create HttpClientstring ls_u...
Hi all, From another post, I learned that the iNet object is now obsolete.  How do I open a file in a web-browser using HttpClient object? Is the even possible, or do I need to use the WebBrowser object? I don't need to do it now, but would like to...
Hello,    i am trying to consume a WCF service and i am getting status code 400(Bad Request)  in httpclient response. can anyone guide me what is wrong in consuming / calling the service ? i want to call "GetCMSWorkQueue"method of service wkfqueue...
hello all We are using this code to call a WebService :Please help  lo_client = Create httpClient lo_client.SetRequestHeader("Content-Type", "text/xml;charset=UTF-8") lo_client.SetRequestHeader("SOAPAction", ls_soap_action) lo_client.SetRequestH...
Does anyone have either any successful examples of using HTTPClient to consume a .Net Web API that requires XML to be passed to it? OR know why I’m receiving the error\issues below when trying to pass the XML? I’m using PowerBuilder 2021 Profe...
I'm running PB 2019 R3 Build 2703.  I'm using RESTClient object to call SendGetRequest().  If the URL I'm passing exceeds 1325 characters in length, then  SendGetRequest() returns -2.  This equates to Invalid URL.  I've tested the URL outside of PB w...
  • Page :
  • 1