Sign inSign up

ldclakmal/ballerina-echo-backend

By ldclakmal

•Updated over 6 years ago

Ballerina Echo Backend

Image
0

1.2K

ldclakmal/ballerina-echo-backend repository overview

⁠Ballerina Echo Backend

A Docker image of Ballerina service which echo back the request payload. Supports both HTTP/1.1 and HTTP/2. Also, supports any type of request payload such as text, json, xml etc.

⁠Installed
  1. Ubuntu 16.04
  2. Ballerina 1.2.0
⁠Run the image
$ docker run -d -p 9191:9191 ldclakmal/ballerina-echo-backend:latest

⁠Test the image
  • HTTP/1.1 - $ curl -v http://localhost:9191/hello/sayHello -d "Hello Ballerina"

  • HTTP/2.0 - $ curl --http2 -v http://localhost:9191/hello/sayHello -d "Hello Ballerina"

Tag summary

Content type

Image

Digest

Size

166.1 MB

Last updated

over 6 years ago

docker pull ldclakmal/ballerina-echo-backend