Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sonots/ltsvapp

json で受け取ったデータを ltsv 形式でログに吐くだけのやつ
https://github.com/sonots/ltsvapp

Last synced: about 2 months ago
JSON representation

json で受け取ったデータを ltsv 形式でログに吐くだけのやつ

Awesome Lists containing this project

README

        

ltsvapp
=======

json で受け取ったデータを ltsv 形式でログに吐くだけのやつ

# Installation

```bash
$ bundle
```

# Run

```bash
$ bundle exec ruby app.rb
```

# Try

```bash
$ curl -H "Content-type: application/json" -d '{"number":0}' http://localhost:4567
```

```bash
$ cat log/application.log
time:2014-06-16 03:38:39 +0900 number:0
```