Creating routes
Interceptors in Pedestal are attached to routes that define the endpoints for clients to interact with the application. Pedestal provides three prominent ways of defining Routes (http://pedestal.io/reference/routing-quick-reference#_routes)—verbose, table, and terse. All three are defined as Clojure data structures with verbose being defined as a Map (https://clojure.org/reference/data_structures#Maps), table as a set (https://clojure.org/reference/data_structures#Sets), and terse as a vector (https://clojure.org/reference/data_structures#Vectors). These three formats are defined for convenience only. Pedestal internally converts all route definitions into the verbose form before processing them using the convenient function ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access