首页 > 随笔 > Fuck Off as a Service (Foaas)

Fuck Off as a Service (Foaas)

Hacker News 2026-09-03 21:47 1 阅读 查看原文
Introduction FOAAS (Fuck Off As A Service) provides a modern, RESTful, scalable solution to the common problem of telling people to fuck off. API Content Negotiation FOAAS 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', subtitle: 'subtitle' } Supports jsonp by including ?callback=? Supports jsonp by including ?callback=? text/html - Content will be returned as an HTML page with a twitter bootstrap hero unit, containing the message and the subtitle. application/xml - Content will be returned as an XML document. Operations Filters Filters are optional output modifiers, and are specified by adding the filter name as query to the HTTP request, e.g. https://foaas.io/off/doomcrewinc/Everyone. Caveat: All filters internally call the stated external services, and as such the latency and availability of API calls using these features cannot be guaranteed. Filters can be used in combinations, e.g. https://foaas.io/off/doomcrewinc/Everyone?&i18n=de Roadmap FOAAS will be extended to include the following functionality: Random fuck offs (or Fuck Off of the Day), without having to specify the operation (off, you, everyone, donut etc) explicitly All contributions are very welcome. Fork me on github Created by @TomDionysus Maintained with loving Profanity by doomcrewinc