Cemilee is an asynchronous http micro service based on Kemal.
brew install crystal-lang
git clone https://github.com/readtimeout/cemilee
cd cemilee
shards install
crystal build --release src/cemilee.cr
./cemilee
curl -X POST -H 'Content-Type: application/json' -d '[{ "method": "GET", "url": "http://httpbin.org/delay/1"}, {"method": "POST", "url": "http://httpbin.org/post", "payload": {"category": 2} }]' http://localhost:3000
["{"args": {}, "data": "", "files": {}, "form": {}, "headers": { "Accept-Encoding": "gzip, deflate", "Content-Length": "0", "Host": "httpbin.org", "User-Agent": "Crystal" }, "origin": "127.0.0.1", "url": "http://httpbin.org/delay/1"}", "{"args": {}, "data": "{"category" => 2}", "files": {}, "form": {}, "headers": { "Accept-Encoding": "gzip, deflate", "Content-Length": "17", "Host": "httpbin.org", "User-Agent": "Crystal" }, "json": null, "origin": "127.0.0.1", "url": "http://httpbin.org/post"}"]
- Fork it ( https://github.com/readtimeout/cemilee/fork )
- Create your feature branch (git checkout -b my-new-feature)
- Commit your changes (git commit -am 'Add some feature')
- Push to the branch (git push origin my-new-feature)
- Create a new Pull Request
- [readtimeout] Read Timeout - creator, maintainer