Skip to content
This repository has been archived by the owner on Oct 5, 2018. It is now read-only.
/ hoaas Public archive

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

License

Notifications You must be signed in to change notification settings

ilbonzo/hoaas

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published