(request client req-map)
Sends a synchronous request to GitHub, largely as a wrapper around HTTP Kit.
In addition to normal HTTP Kit keys in the request map, two additional keys are added.
:path - used to create the :url key for HTTP kit; this is the path relative to https://api.github.com.
:throw? - if true (the default), then non-success status codes (codes outside the range of 200 to 204) result in a thrown exception. If set to false, then the response is returned, regardless and the caller can decide what to do with failure statuses.
Sends a synchronous request to GitHub, largely as a wrapper around HTTP Kit. In addition to normal HTTP Kit keys in the request map, two additional keys are added. :path - used to create the :url key for HTTP kit; this is the path relative to https://api.github.com. :throw? - if true (the default), then non-success status codes (codes outside the range of 200 to 204) result in a thrown exception. If set to false, then the response is returned, regardless and the caller can decide what to do with failure statuses.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close