- François Thibault
- PowerBuilder
- Wednesday, 11 October 2023 07:58 PM UTC
Hi PowerBuilder Community,
I Have a question about REST API Calling into SQLAnywhere 11.
The web service owner changed the security level and my HTTP call no longer works.
Do you have a solution to use HTTPS instead of HTTP with SQLAnywhere 11
My exemple:
create function Fct_getsso( in as_Json long varchar )
returns long varchar
url 'HTTPS://xxxx.xx/lmsapi/user/getsso'
type 'HTTP:POST:application/json; charset=utf-8;'
SET 'HTTP(VERSION=1.0)'
header 'ApiID:XXXXXXXX'
certificate 'file=C:\\cert\\formation.crt';
When I call the service web, I receice this error
ERROR: The secure connection to the remote host failed: %1
Thanks for your help
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.