ballerina-guides/playground-post-service

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

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Ballerina Playground - HTTP POST Service

What you?ll build

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.

Prerequisites

Sample Request

l -X POST -d 'Ballerina' http://localhost:9090/greeting

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.