Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jhsu/rackety
simple rack server spitting out content of files
https://github.com/jhsu/rackety
Last synced: 2 days ago
JSON representation
simple rack server spitting out content of files
- Host: GitHub
- URL: https://github.com/jhsu/rackety
- Owner: jhsu
- Created: 2010-10-12T15:04:38.000Z (about 14 years ago)
- Default Branch: master
- Last Pushed: 2010-12-13T20:08:41.000Z (about 14 years ago)
- Last Synced: 2024-12-20T21:13:12.153Z (3 days ago)
- Language: Ruby
- Homepage:
- Size: 97.7 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.markdown
Awesome Lists containing this project
README
# Rackety
Simple rack server that returns contents of files. Useful for dummy apps for
testing api connectors.## GET
1. Place files in the same directory (ie. filename.json)
2. `rackup`
3. open `http://localhost:9292/filename.json`## POST
1. Using curl: `curl -d "hello=bye" http://localhost:9292/` or upload a file
with `curl -F [email protected] http://localhost:9292/`
2. returns params (TODO: return a specified file ie. JSON)