Web Development with Clojure, Third Edition: Testing with swagger Page 222

@Dmitri @svmbrown

How do you test an end-point with swagger when authentication is required? I got http 403 error with the set-profile testing.

Hi there, you can log in with the application in another tab and the Swagger UI page should work. It will pick up the session ID from the cookie. You can also send the login request from Swagger UI itself if you want.

Hope that helps. Thanks for reading!