Discussions tagged HTTPClient
Enable Anonymous Authentication in PowerBuilder 2017 R3
- How-to
- Last updated 2 months ago
- Armeen Mazda @Appeon replied 2 months ago
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...
Call webservice with XML in one parameter
- How-to
- Last updated 4 months ago
- Roland Smith replied 4 months ago
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...
Re: To Transfer Image (PDF, JPEG/JPG, PNG) using HTTPClient along with JSON
- How-to
- Last updated 4 months ago
- mike S replied 4 months ago
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...
HTTPClient POST with Multipart Form
- Resolved
- How-to
- Last updated 5 months ago
- iliyan iliev replied 4 months ago
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...
Using REST client to send file
- Resolved
- How-to
- Last updated 5 months ago
- TOMAZ KRALJ replied 5 months ago
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...
How to send data using HTTP Client after token was send.
- Resolved
- How-to
- Last updated 10 months ago
- Daryl Foster replied 10 months ago
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...
...
JWT TOKEN - authentication
- Resolved
- How-to
- Last updated 10 months ago
- Daryl Foster replied 10 months ago
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...
Question reg. HTTPClient to consume SOAP WebService
- How-to
- Last updated 1 year ago
- Chris Pollach @Appeon replied 1 year ago
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...
useintegratedwindowsauthentication replacement for HTTPClient
- Resolved
- How-to
- Last updated 1 year ago
- Tom Derutter replied 2 months ago
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...
Problem with GetResponseBody(HttpClient)
- Issue
- Last updated 1 year ago
- Frankel David replied 1 year ago
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.
...
HTTPClient / RESTClient to old internal TLS1.0 server
- Resolved
- How-to
- Last updated 1 year ago
- Mark Lee @Appeon replied 2 months ago
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...
Can I open a file in web browser using HttpClient?
- How-to
- Last updated 1 year ago
- Armeen Mazda @Appeon replied 1 year ago
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...
Calling a WS using httpClient with a text with accent cause error
- Issue
- Last updated 1 year ago
- Arnd Schmidt replied 1 year ago
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...
Problem passing XML to Web API using HttpClient
- Resolved
- Advice
- Last updated 1 year ago
- Daryl Foster replied 1 year ago
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...
Client Certificates with HTTPClient or RESTClient
- Advice
- Last updated 2 years ago
- mike S replied 2 years ago
Hi Appeon Support,
It looks this Feature has been requested for sometime.
Is Appeon Powerbuilder HTTPClient (With Certificate) going to include this feature in the near future?
or it will be completely NOT in the roadmap.
Thanks and Regards,
...
HTTPClient - Send soap with attachments
- How-to
- Last updated 2 years ago
- René Ullrich replied 2 years ago
Hi all,
May I know is it support to send soap request with attachment (MIME type) using HttpClient object?
I have checked the SendRequest function but seems no way to add the attachment.
And the PostData function is unable to send with soap bod...
- Page :
- 1