I am using clojure liberator to expose my services as REST service,I have a POST request, Below is the code, I could do the process on calling the service as POST, but I want to send back the event id as response of the POST, Can anyone help
(defresource send-event-resource
:method-allowed? (request-method-in :post)
:available-media-types ["text/plain"]
:post! (fn [context]
(workers/send-event context)))
Raised an issue in liberator, got the response from there https://github.com/clojure-liberator/liberator/issues/61