https://github.com/novatecconsulting/hello-world-in-90-languages
https://github.com/novatecconsulting/hello-world-in-90-languages
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/novatecconsulting/hello-world-in-90-languages
- Owner: NovatecConsulting
- Created: 2019-03-15T12:59:25.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-03-26T05:48:15.000Z (over 1 year ago)
- Last Synced: 2025-04-02T20:38:37.154Z (3 months ago)
- Language: C
- Size: 192 KB
- Stars: 1
- Watchers: 5
- Forks: 3
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# "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!"}
```