Remove stale next/previous
This commit is contained in:
parent
6f74172a64
commit
4dbd721d39
3 changed files with 0 additions and 14 deletions
|
@ -147,8 +147,3 @@ You can now run `dist/build/tutorial/tutorial 8` (the server) and
|
|||
```
|
||||
|
||||
The types of the arguments for the functions are the same as for (server-side) request handlers. You now know how to use *servant-client*!
|
||||
|
||||
<div style="text-align: center;">
|
||||
<p><a href="/tutorial/server.html">Previous page: Serving an API</a></p>
|
||||
<p><a href="/tutorial/javascript.html">Next page: Generating javascript functions to query an API</a></p>
|
||||
</div>
|
||||
|
|
|
@ -232,7 +232,3 @@ app = serve api EmptyConfig server
|
|||
```
|
||||
|
||||
And if you spin up this server with `dist/build/tutorial/tutorial 10` and go to anywhere else than `/position`, `/hello` and `/marketing`, you will see the API docs in markdown. This is because `serveDocs` is attempted if the 3 other endpoints don't match and systematically succeeds since its definition is to just return some fixed bytestring with the `text/plain` content type.
|
||||
|
||||
<div style="text-align: center;">
|
||||
<a href="/tutorial/javascript.html">Previous page: Generating javascript functions to query an API</a>
|
||||
</div>
|
||||
|
|
|
@ -182,8 +182,3 @@ writeJSFiles = do
|
|||
```
|
||||
|
||||
And we're good to go. Start the server with `dist/build/tutorial/tutorial 9` and go to `http://localhost:8081/`. Start typing in the name of one of the authors in our database or part of a book title, and check out how long it takes to approximate π using the method mentioned above.
|
||||
|
||||
<div style="text-align: center;">
|
||||
<p><a href="/tutorial/client.html">Previous page: Deriving Haskell functions to query an API</a></p>
|
||||
<p><a href="/tutorial/docs.html">Next page: Generating documentation for APIs</a></p>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue