Skip to content

NovatecConsulting/hello-world-in-90-languages

Repository files navigation

"Hello World" in 90 Languages

Challenge

Choose a language and write a Programm that listens on port 8080 and answers the specific HTTP request with the specified response.

Test #1

Request:

POST /say-hello?name=Adam HTTP/1.1
Host: localhost:8080
Accept: application/json

Response:

HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Date: ${timeOfResponse}
Content-Length: ${realContentLength}

{"message":"Hello Adam!"}

Test #2

Request:

POST /say-hello?name=Eva HTTP/1.1
Host: localhost:8080
Accept: application/json

Response:

HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Date: ${timeOfResponse}
Content-Length: ${realContentLength}

{"message":"Hello Eva!"}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published