Skip to content

Instantly share code, notes, and snippets.

@danielsz
Created June 11, 2018 00:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save danielsz/bfffa118b9fa995c0afa19d6c92244d8 to your computer and use it in GitHub Desktop.
Save danielsz/bfffa118b9fa995c0afa19d6c92244d8 to your computer and use it in GitHub Desktop.
(defn new-paste
([s]
(new-paste s s s))
([d n c]
(client/post "https://api.paste.ee/v1/pastes" {:form-params {:key api-key
:description d
:sections [{:name n
:contents c}]}
:socket-timeout 1000
:conn-timeout 1000
:throw-entire-message? true
:content-type :json
:as :json})))
@danielsz
Copy link
Author

Group ID is sent with the result of the build (0 or 1)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment