ilbonzo / hoaas

HOAAS (HOdor As A Service) provides a modern, RESTful, scalable solution to the common problem of talk with Hodor

Home Page:hoaas.herokuapp.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

HOAAS

v0.0.1

HOAAS (HOdor As A Service) provides a modern, RESTful, scalable solution to the common problem of talk with Hodor

Hodor

Content Negotiation

HOAAS will respond to the following 'Accept:' values with appropriate content

  • text/plain - Content will be returned as a plain string.
  • application/json - Content will be returned as a JSON object { message: 'message' }
  • text/html - Content will be returned as an HTML page with a twitter bootstrap hero unit, containing the Hodor's message.

API

/hodor

Will return content of the form 'Hodor' with or without different final dot.

/hodor/number/:number

Will return content of the form 'Hodor, Hodor' for :number times with or without different final dot.

/hodor/question/:question

Will return content of right Hodor answer for your question.

Alternative URLs

Thanks

Hodor

All contributions are very welcome.

Not Written in a Express

Not Inspired to FOAAS (Fuck Off As A Service)

Fork me on github

Created by @ilbonzo

About

HOAAS (HOdor As A Service) provides a modern, RESTful, scalable solution to the common problem of talk with Hodor

hoaas.herokuapp.com

License:Apache License 2.0


Languages

Language:JavaScript 100.0%