Hello there.
As documentation is usually written for humans, it's often useful to introduce concepts with a few words.
You'll also note that multiple intros are possible.
-
Supported content types are:
application/json
-
Example:
application/json
"Hello, haskeller!"
-
Status code 201
-
Supported content types are:
application/json
-
If you use ?capital=true
"HELLO, HASKELLER"
- If you use ?capital=false
"Hello, haskeller"
- name: name of the person to greet
hello:
- lang
- Values: en, sv, fr
- Description: Get the greeting message selected language. Default is en.
- capital
- Values: true, false
- Description: Get the greeting message in uppercase (true) or not (false).Default is false.
-
Status code 200
-
Supported content types are:
application/json
text/plain;charset=utf-8
-
If you use ?capital=true
"HELLO, HASKELLER"
- If you use ?capital=true
"HELLO, HASKELLER"
- If you use ?capital=false
"Hello, haskeller"
- If you use ?capital=false
"Hello, haskeller"
This is some text
And some more
-
greetid: identifier of the greet msg to remove
-
This endpoint is sensitive to the value of the unicorns HTTP header.
-
Status code 200
-
No response body