Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sonots/ltsvapp
json で受け取ったデータを ltsv 形式でログに吐くだけのやつ
https://github.com/sonots/ltsvapp
Last synced: about 2 months ago
JSON representation
json で受け取ったデータを ltsv 形式でログに吐くだけのやつ
- Host: GitHub
- URL: https://github.com/sonots/ltsvapp
- Owner: sonots
- Created: 2014-06-15T18:20:51.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-06-15T18:41:16.000Z (over 10 years ago)
- Last Synced: 2024-10-13T08:08:43.272Z (3 months ago)
- Language: Ruby
- Size: 148 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```