FOAAS操蛋的 Web 服务

联合创作 · 2023-09-19 05:56

FOAAS (Fuck Off As A Service) 提供一个流行、RESTful、可伸缩的解决方案,用来解决人们各种 '操蛋' 的需求,基本上都是骂人的。目前尚不清楚该项目的实际使用场景。

关键人家还做得很严肃,提供了多种语言客户端开发包:

Language Name Info
JS/Node foaas-client https://www.npmjs.org/package/foaas-client
Ruby foaas-client https://github.com/petedmarsh/foaas-client
PHP foaas-php https://github.com/klaude/foaas-php
Python foaas-python https://github.com/dmpayton/foaas-python
R rfoaas https://github.com/eddelbuettel/rfoaas
CLI/bash foaas.sh https://github.com/RaymiiOrg/foaas.sh
.NET FOAASClient https://github.com/igorkulman/FOAASClient
Java JFOAAS https://github.com/AnUnknownMiner/FOAAS-Java

接口示例:

/version 返回当前 FOAAS 版本号
/operations 返回 FOAAS 可用操作
/off/:name/:from 返回示例: 'Fuck off, :name. - :from', e.g. /off/Tom/Chris will return 'Fuck off, Tom - Chris'
/you/:name/:from 返回示例: 'Fuck you, :name. - :from', e.g. /you/Tom/Chris will return 'Fuck you, Tom - Chris'
/this/:from 返回示例: 'Fuck this - :from', e.g. /this/Chris will return 'Fuck this. - Chris'
/that/:from 返回示例: 'Fuck that. - :from', e.g. /that/Chris will return 'Fuck that. - Chris'

 

浏览 5
点赞
评论
收藏
分享

手机扫一扫分享

编辑 分享
举报
评论
图片
表情
推荐
点赞
评论
收藏
分享

手机扫一扫分享

编辑 分享
举报