by manishsharan · 6y ago · 0 comments
(defroutes data-routes
(GET "/something1" [] (sample-json-data))
(GET "/something2" [] "hello1")
(comment
(GET "/something3" [] "hello3")
(GET "/something4" [] "hello4"))
GET "/something5" [] "hello5")
)Then when a client tried to access /something5 , I began getting null pointer execptions. This took me a while to figure out what I had done wrong.
#_(GET "/something3" [] "hello3")
#_#_#_#_GET "/something3" [] "hello3"
if it strikes your fancy. The possibilities for bikeshedding here are truly remarkable.