1. François Thibault
  2. PowerBuilder
  3. Wednesday, 11 October 2023 19: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



There are no replies made for this question yet.
However, you are not allowed to reply to this question.