@@ -4,7 +4,7 @@ In this example we will generate curl requests with mock post data from a servan
44This may be usefull for testing and development purposes.
55Especially post requests with a request body are tedious to send manually.
66
7−Also, we will learn how to use the servant-forein library to generate stuff from servant APIs.
7+Also, we will learn how to use the servant-foreign library to generate stuff from servant APIs.
88
99
1010Language extensions and imports:
@@ -134,7 +134,7 @@ generateCurl p host =
134134 $ listFromAPI (Proxy :: Proxy NoLang) (Proxy :: Proxy Mocked) p
135135```
136136
137−To understand the, better start at the end:
137+To understand this function, better start at the end:
138138
139139`listFromAPI` gives us a list of endpoints. We iterate over them (`foldr`) and call `generateEndpoint` for every endpoint.
140140