Web服务:FOAAS
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' |
本文由用户 jopen 自行上传分享,仅供网友学习交流。所有权归原作者,若您的权利被侵害,请联系管理员。
转载本站原创文章,请注明出处,并保留原始链接、图片水印。
本站是一个以用户分享为主的开源技术平台,欢迎各类分享!