Skip to content

Instantly share code, notes, and snippets.

View pubudu91's full-sized avatar

Pubudu Fernando pubudu91

View GitHub Profile
[echo]
httpPort=9090
httpsPort=9095
keystore.path="${ballerina.home}/bre/security/ballerinaKeystore.p12"
keystore.password="@encrypted:{92XujbVRx+rXspbI/8sbdpdrmBmMF1PBDnuVUJKdK/0=}"
[echo]
httpPort=9090
keystore.path="${ballerina.home}/bre/security/ballerinaKeystore.p12"
keystore.password="ballerina"
import ballerina/http;
import ballerina/log;
// Data is formatted as: key1=val1;key2=val2
type Person record {|
string name = "";
int age = 0;
|};
listener http:Listener endpoint = new (3000);