文件名称:joker:适用于笑话的REST API-由AWS Lambda和无服务器框架提供支持
文件大小:3KB
文件格式:ZIP
更新时间:2024-06-02 23:59:40
JavaScript
小丑 这是什么? Joker是一个简单的REST API,它返回不同种类的笑话。 API路由 讲笑话-返回随机笑话 GET - https://iaeufj7svc.execute-api.us-east-1.amazonaws.com/dev/joke 获取接送线-返回随机接送线 GET - https://iaeufj7svc.execute-api.us-east-1.amazonaws.com/dev/pickupLine 获得侮辱-返回随机侮辱 GET - https://iaeufj7svc.execute-api.us-east-1.amazonaws.com/dev/insult 回应范例 笑话: {"type":"joke","content":"A foo walks into a bar, takes a look around and says... Hel
【文件预览】:
joker-master
----content.js(1KB)
----README.md(2KB)
----serverless.yml(418B)
----handler.js(918B)
----.gitignore(86B)