Skip to content

emidln/cljs-http

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

91 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cljs-http Build Status

A ClojureScript HTTP library.

Installation

Via Clojars: http://clojars.org/cljs-http

Usage

(ns example.core
  (:require-macros [cljs.core.async.macros :refer [go]])
  (:require [cljs-http.client :as http]
            [cljs.core.async :refer [<!]]))

(go (let [response (<! (http/get "https://api.github.com/users" {:with-credentials? false}))]
      (prn (:status response))
      (prn (map :login (:body response)))))

License

Copyright (C) 2012-2013 Roman Scherer

Distributed under the Eclipse Public License, the same as Clojure.

About

A ClojureScript HTTP library.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Clojure 100.0%