Baas (Blasphemy as a Service) provides a modern, RESTful, scalable solution to the common problem of swearing.
Baas will respond to the following 'Accept:' values with appropriate content
- application/json - Content will be returned as a JSON object { message: 'message', subtitle: 'subtitle' }
- text/html - Content will be returned as an HTML page with a twitter bootstrap hero unit, containing the message and the subtitle.
Will return content of the form ':Divinity :animal! - :from'
e.g.: /swear/giunone/maiala/ced will return 'Giunone maiala! - ced'
Will return content of the form 'For :Divinity'[s] sake! - :from'
e.g.: /sake/jesus/ced will return 'For Jesus' sake! - ced'
Will return content of the form 'Holy :Divinity'[s]! - :from'
e.g.: /holy/jesus/ced will return 'Holy Jesus! - ced'
Will return content of the form 'By the blood of :Divinity! - :from'
e.g.: /blood/god/ced will return 'By the blood of God! - ced'
Will return content of the form 'Bloody :Divinity! - :from'
e.g.: /blood/god/ced will return 'Bloody God! - ced'
Will return content of the form 'Oh my fucking :Divinity'! - :from'
e.g.: /ohmy/lord/ced will return 'Oh my fucking Lord! - ced'
Will return content of the form 'By :Divinity'[s] nails! - :from'
e.g.: /nails/jesus/ced will return 'By Jesus' nails! - ced'
Not Written with Fastify.
Not Inspired to FOAAS (Fuck Off As A Service)
All contributions are very welcome.