Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (with-open [client (http/create-client)]
- (let [default-headers {}
- response (http/POST client "https://www.googleapis.com/calendar/v3/calendars/hvent90@gmail.com/events"
- :query (cheshire.core/generate-string {:summary "test" :end {:date "2014-06-17"} :start {:date "2014-06-17"}})
- :headers {:content-type "application/json" :content-length 410 :authorization "Bearer ya29.fakeaccesstoken"})]
- (-> response http/await http/string)))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement