on master help sign in
Merge pull request #958 from chreekat/patch-1
f88cfd0Alp Mestanogullari
doc/tutorial/Server.lhs−6
@@ -95,12 +95,6 @@ users1 =
95 ]
95 ]
96```
96```
97
97
98−Let's also write our API type.
99−
100−``` haskell ignore
101−type UserAPI1 = "users" :> Get '[JSON] [User]
102−```
103−
104We can now take care of writing the actual webservice that will handle requests
98We can now take care of writing the actual webservice that will handle requests
105to such an API. This one will be very simple, being reduced to just a single
99to such an API. This one will be very simple, being reduced to just a single
106endpoint. The type of the web application is determined by the API type,
100endpoint. The type of the web application is determined by the API type,