We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0c66b9c commit abd11b2Copy full SHA for abd11b2
doc/tutorial/Server.lhs
@@ -95,12 +95,6 @@ users1 =
95
]
96
```
97
98
-Let's also write our API type.
99
-
100
-``` haskell ignore
101
-type UserAPI1 = "users" :> Get '[JSON] [User]
102
-```
103
104
We can now take care of writing the actual webservice that will handle requests
105
to such an API. This one will be very simple, being reduced to just a single
106
endpoint. The type of the web application is determined by the API type,
0 commit comments