Fork me on GitHub
#off-topic
<
2017-06-28
>
bja16:06:47

@mobileink I doubt cljs wants to be in the business of specifying how users load their code. That is a minefield in JS land.

mobileink16:06:39

it already gives them options by leveraging goog.require etc. and js modules (alpha).

mobileink16:06:10

but i geuss goog.provide already does what i suggested above. still learning. 😉

bja20:06:47

https://httpie.org/ has really increased my quality of life over curl for simple http api exploration

erwinrooijakkers09:06:29

bja: For Emacs users I can highly recommend https://github.com/pashky/restclient.el

erwinrooijakkers09:06:15

Example:

#
# XML is supported - highlight, pretty-print
#
GET 

#
# It can even show an image!
#
GET 
#
# A bit of json GET, you can pass headers too
#
GET 
User-Agent: Emacs24
Accept-Encoding: compress, gzip

#
# Post works too, entity just goes after an empty line. Same is for PUT.
#
POST 
Content-Type: application/json

{
        "jql": "project = HSP",
        "startAt": 0,
        "maxResults": 15,
        "fields": [
                "summary",
                "status",
                "assignee"
        ]
}

bja20:06:13

if you happen to work with JSON-speaking HTTP apis a lot, I highly recommend it