Skip to content

Commit

Permalink
OMG this is a hack
Browse files Browse the repository at this point in the history
  • Loading branch information
pikesley committed Sep 6, 2016
1 parent 316c866 commit e648c9d
Show file tree
Hide file tree
Showing 4 changed files with 134 additions and 77 deletions.
12 changes: 9 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ Content will be returned as a JSON object thus:
]
}

_[example](http://uncleclive.herokuapp.com/1982.json)_

####`text/plain`

Content will be returned as plain text formatted thus:
Expand All @@ -51,22 +53,26 @@ Content will be returned as plain text formatted thus:
() () () () ()
()()()()() ()()()() ()()()() ()()()()()()

_[example](http://uncleclive.herokuapp.com/1982.text)_

####`text/html`

Content will be returned as an HTML page with a Twitter Bootstrap Jumbotron containing the data rendered as a table ([example](http://uncleclive.herokuapp.com/%C2%A9%201982%20Sinclair%20Research%20Ltd))
Content will be returned as an HTML page with a Twitter Bootstrap Jumbotron containing the data rendered as a table

_[example](http://uncleclive.herokuapp.com/%C2%A9%201982%20Sinclair%20Research%20Ltd)_

####`image/svg+xml`

Content will be returned as an SVG image ([example](http://uncleclive.herokuapp.com/%C2%A9%201982%20Sinclair%20Research%20Ltd.svg))
Content will be returned as an SVG image

_[example](http://uncleclive.herokuapp.com/%C2%A9%201982%20Sinclair%20Research%20Ltd.svg)_

###API

####`/:text`

Will return content of the form _:text_, rendered in the 1982 Sinclair Spectrum character set.


###History

This is at least the third time I've implemented this or something like it:
Expand Down

0 comments on commit e648c9d

Please sign in to comment.