Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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

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)