@@ -110,12 +110,6 @@ markdown :: API -> String
110110That lets us see what our API docs look down in markdown, by looking at `markdown apiDocs`.
111111
112112````````` text
113−## Welcome
114−
115−This is our super webservice's API.
116−
117−Enjoy!
118−
119113## GET /hello
120114
121115#### GET Parameters:
@@ -132,19 +126,20 @@ Enjoy!
132126
133127- Supported content types are:
134128
129+ - `application/json;charset=utf-8`
135130 - `application/json`
136131
137−- When a value is provided for 'name'
132+- When a value is provided for 'name' (`application/json;charset=utf-8`, `application/json`):
138133
139− ```javascript
140− {"msg":"Hello, Alp"}
141− ```
134+ ```javascript
135+{"msg":"Hello, Alp"}
136+ ```
142137
143−- When 'name' is not specified
138+- When 'name' is not specified (`application/json;charset=utf-8`, `application/json`):
144139
145− ```javascript
146− {"msg":"Hello, anonymous coward"}
147− ```
140+ ```javascript
141+{"msg":"Hello, anonymous coward"}
142+ ```
148143
149144## POST /marketing
150145
@@ -152,28 +147,30 @@ Enjoy!
152147
153148- Supported content types are:
154149
150+ - `application/json;charset=utf-8`
155151 - `application/json`
156152
157−- Example: `application/json`
153+- Example (`application/json;charset=utf-8`, `application/json`):
158154
159− ```javascript
160− {"email":"alp@foo.com","interested_in":["haskell","mathematics"],"age":26,"name":"Alp"}
161− ```
155+ ```javascript
156+{"clientAge":26,"clientEmail":"alp@foo.com","clientName":"Alp","clientInterestedIn":["haskell","mathematics"]}
157+ ```
162158
163159#### Response:
164160
165−- Status code 201
161+- Status code 200
166162- Headers: []
167163
168164- Supported content types are:
169165
166+ - `application/json;charset=utf-8`
170167 - `application/json`
171168
172−- Response body as below.
169+- Example (`application/json;charset=utf-8`, `application/json`):
173170
174− ```javascript
175− {"subject":"Hey Alp, we miss you!","body":"Hi Alp,\n\nSince you've recently turned 26, have you checked out our latest haskell, mathematics products? Give us a visit!","to":"alp@foo.com","from":"great@company.com"}
176− ```
171+ ```javascript
172+{"subject":"Hey Alp, we miss you!","body":"Hi Alp,\n\nSince you've recently turned 26, have you checked out our latest haskell, mathematics products? Give us a visit!","to":"alp@foo.com","from":"great@company.com"}
173+ ```
177174
178175## GET /position/:x/:y
179176
@@ -189,13 +186,14 @@ Enjoy!
189186
190187- Supported content types are:
191188
189+ - `application/json;charset=utf-8`
192190 - `application/json`
193191
194−- Response body as below.
192+- Example (`application/json;charset=utf-8`, `application/json`):
195193
196− ```javascript
197− {"x":3,"y":14}
198− ```
194+ ```javascript
195+{"yCoord":14,"xCoord":3}
196+ ````
199197
200198`````````
201199