# Web Development with Clojure, Third Edition: api/logout missing (p174)

**URL:** <https://forum.devtalk.com/t/web-development-with-clojure-third-edition-api-logout-missing-p174/4184>\
**Category:** PragProg Customers\
**Tags:** book-web-development-with-clojure-third-edition, suggestion\
**Created:** [19 November 2020 04:12 UTC](https://forum.devtalk.com/t/web-development-with-clojure-third-edition-api-logout-missing-p174/4184 "2020-11-19T04:12:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![nezaj](https://forum.devtalk.com/user_avatar/forum.devtalk.com/nezaj/32/1282_2.png) [@nezaj](https://forum.devtalk.com/u/nezaj)\
**Post date:** [19 November 2020 04:12 UTC](https://forum.devtalk.com/t/web-development-with-clojure-third-edition-api-logout-missing-p174/4184/1 "2020-11-19T04:12:34Z")

</div>

@Dmitri @svmbrown

First off wanted to say thanks for writing this book! I’m new to clojure and this has been a great resource for exploring the clojure web-dev ecosystem!

I ran into an error while adding the login / logout buttons in chapter 6. We implement `api/login` earlier but we do not implement `api/logout`. Thus clicking the log-out button returns a 404 from the server and prevents the client-side success handler from executing.

It’s a fun exercise to implement it myself though 🙂

EDIT: I realized an implementation was included in the accompanying source code (see guestbook-login for example). Perhaps it was intended to be included in the book as well

---

<div class="post-metadata">

**Author:** ![pm9999](https://forum.devtalk.com/letter_avatar_proxy/v4/letter/p/13edae/32.png) [@pm9999](https://forum.devtalk.com/u/pm9999)\
**Post date:** [14 August 2021 04:33 UTC](https://forum.devtalk.com/t/web-development-with-clojure-third-edition-api-logout-missing-p174/4184/2 "2021-08-14T04:33:07Z")

</div>

In B17.0(page173) and P1.0(page172) _api/logout_ is implemented.
