#http:Client how to ignore SSL cert validation?
1 messages · Page 1 of 1 (latest)
Hi @brittle summit
There is a option to disable the SSL in client configurations
import ballerina/http;
http:Client c = check new("<URL>", {secureSocket: {enable: false}});
Please refer to this
https://central.ballerina.io/ballerina/http/latest#ClientSecureSocket
This module provides APIs for connecting and interacting with HTTP and HTTP2 endpoints. It
Thanks, it worked
@brittle summit
Since other developers can face the same question and it will be beneficial for them if we post this on Stack Overflow, could you please post it in https://stackoverflow.com/collectives/wso2?tab=questions also? Thank you for your consideration, and keep up the excellent work with Ballerina!