Public Repository

Last pushed: 7 months ago
Short Description
Sample web service
Full Description

Hello Echo

This is a sample web service project with a single endpoint that echos the incoming request.

POST /**

The service provides a single endpoint that sends back data of arbitrary incoming POST requests with JSON payload:

Request

Request Path

POST /hello/world

Request Body

{
    "message": "Hello World"
}

Response

Example Response Body

{
  "path": "/hello/world",
  "headers": {
    "content-length": "29",
    "host": "localhost:8080",
    "connection": "keep-alive",
    "content-type": "application/json",
    "cache-control": "no-cache",
    "accept-encoding": "gzip, deflate",
    "accept": "*/*",
    "user-agent": "PostmanRuntime/3.0.11-hotfix.2"
  },
  "body": {
    "message": "Hello World"
  },
  "datetime": "2017-05-21 17:12:40"
}
Docker Pull Command
Owner
andreassiegel