Créer un service en Ballerina est facile. Maintenant, tu peux ajouter un paramètre de requête et un chemin relatif.
sound. Le service doit répondre à une requête HTTP GET sur le chemin /echo?sound=hello."A sound or series of sounds caused by the reflection of sound waves from a surface back to the listener.". Le service doit répondre à une requête HTTP GET sur le chemin /echo/definition.Inscris-toi sur Exercism pour apprendre et maîtriser Ballerina avec 60 exercices, et un vrai mentorat humain, le tout gratuitement.