Name: playground-post-service
Owner: ballerina-guides
Description: null
Created: 2018-04-04 03:43:48.0
Updated: 2018-04-26 08:16:01.0
Pushed: 2018-04-26 08:16:00.0
Homepage: null
Size: 18
Language: Ballerina
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
In this example you will build a HTTP RESTful service that accepts a HTTP post request and reply back with a greeting message which includes the content you posted.
This is a Ballerina playground example. You can try it at ballerina.io.
JDK 1.8 or later
A Text Editor or an IDE
This is a Ballerina playground example. You can try it at ballerina.io.
Sample Request
l -X POST -d 'Ballerina' http://localhost:9090/greeting