Heroku
用于在 Heroku 上以编程方式创建应用、配置附加组件和执行其他任务的 REST API
- 认证方式
- OAuth
- HTTPS
- Yes
- CORS
- Yes
- 分类
- 开发
简介
Heroku Platform API 管理应用/附加组件——基于 token(需要带版本的 Accept 头;缺失返回 400,已实测)。
快速开始
应用(加版本头):
curl "https://api.heroku.com/apps" \
-H "Accept: application/vnd.heroku+json; version=3" \
-H "Authorization: Bearer YOUR_TOKEN"
{ "id": "missing_version", "error": "Please specify a version along with Heroku's API MIME type." }
认证方式
- Heroku 账户 → API token。
- 通过
Authorization: Bearer+ 带版本的 Accept 头发送(缺少版本 → 400,已实测)。
速率限制与注意事项
- 免费层带限额(看文档);付费档可扩展。
- 应用、附加组件、dyno。
常见问题
Heroku 免费吗? 免费层带限额;更多需要付费。
为什么 400? 需要带版本的 Accept 头(已实测)。
认证风格是什么? Bearer token + 版本化 Accept。
开发 分类更多
| API | Auth | HTTPS | CORS | |
|---|---|---|---|---|
| 24 Pull Requests Project to promote open source collaboration during December | No auth | Yes | Yes | ↗ |
| Agify.io Estimates the age from a first name | No auth | Yes | Yes | ↗ |
| Amazonscraperapi Amazon product, search & batch scraping API with residential proxies (1000 free) | API Key | Yes | No | ↗ |
| AmberOne Turn any website into a build-ready Android, iOS, PWA or Electron app project | API Key | Yes | No | ↗ |
| API Grátis Multiples services and public APIs | No auth | Yes | Unknown | ↗ |