Closed Alexey-T closed 4 years ago
service backend on new http:Listener(9224) { resource function hello(http:Caller caller, http:Request request) { http:Response response = new; var payload = request.getTextPayload(); if (payload is string) { response.setTextPayload(<@untainted> payload); } else { error err = payload; response.setTextPayload(<@untainted> err.reason()); } var responseError = caller->respond(response); if (responseError is error) { log:printError("Error sending response", responseError); } } }
почему не светится знак :
fixed in f71dd61c1d2c229a5cbac7151bf1524525e3707a
почему не светится знак :