FOAAS FOASS

Fuck Off As A Service Don't care about the backronym, it's funnier as FOASS

Please see the README for use.

local variation of v0.0.1.2

This python re-implementation (and direct lift of the layout) of the awesome groundbreaking work found at http://foaas.herokuapp.com/ is done solely as a python cgi coding exersise to test my skills (or lack there of).
OK, maybe that's a little lie. My inner child is definitely doing a fist pump in the air and screaming "Fuck Yea! I'm so proud of grown up me".
IT IS NOT INTENDED TO BE FEATURE COMPLETE OR USED BY ANYONE BY ANY STRETCH OF THE IMAGINATION
- Jason De Arte

Introduction

FOAAS (Fuck Off As A Service) provides a modern, RESTful, scalable solution to the common problem of telling people to fuck off.

Content Negotiation

FOAAS will respond to the following 'Accept:' request header 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', subtitle: 'subtitle' }

text/html - default - Content will be returned as an HTML page with a twitter bootstrap hero unit, containing the message and the subtitle.

API

/everyone/:from

Will return content of the form 'Everyone can go and fuck off. - :from', e.g.
/everyone/Dawson
will return 'Everyone can go and fuck off. - Dawson'

/london/:name/:from

/thanks/:from

Will return content of the form 'Fuck you very much. - :from', e.g.
/thanks/Craig
will return 'Fuck you very much. - Craig'

/ity/:name/:from

Will return content of the form 'What the fuckity fuck-fuck were you fucking doing, :name? - :from', e.g.
/ity/Craig/Jason
will return 'What the fuckity fuck-fuck were you fucking doing, Craig? - Jason'

/linus/:name/:from

Will return content of the form ':name, there aren't enough swear-words in the English language, so now I'll have to call you perkeleen vittupää just to express my disgust and frustration with this crap. - :from', e.g.
/linus/Monte/Nico
will return 'Monte, there aren't enough swear-words in the English language, so now I'll have to call you perkeleen vittupää just to express my disgust and frustration with this crap. - Nico'

/that/:from

/chainsaw/:name/:from

Will return content of the form 'Fuck me gently with a chainsaw, :name. Do I look like Mother Teresa? - :from', e.g.
/chainsaw/Nico/Craig
will return 'Fuck me gently with a chainsaw, Nico. Do I look like Mother Teresa? - Craig'

/eat/:name/:from

Will return content of the form 'Eat a bowl of dicks, :name. - :from', e.g.
/eat/Dawson/Jason
will return 'Eat a bowl of dicks, Dawson. - Jason'

/king/:name/:from

Will return content of the form 'Oh fuck off, just really fuck off you total dickface. Christ :name, you are fucking thick. - :from', e.g.
/king/Dawson/Oliver
will return 'Oh fuck off, just really fuck off you total dickface. Christ Dawson, you are fucking thick. - Oliver'