demo-marco

リポジトリ詳細
| リポジトリ #1050407427 | |
|---|---|
| 作者 | Lorenzo Rottigni |
| 作成日 | 2025-09-04 |
| 更新日 | 2025-09-04 |
| プッシュ日時 | 2025-09-04 |
| サイズ | 13 MB |
| メイン言語 | JavaScript |
| スター数 | 0 |
| デフォルトブランチ | main |
リポジトリスキル
README.md
Simple Token-Protected API
A lightweight Express.js API with a fixed bearer token for authentication, designed to be deployed on Render.com.
Endpoints
| Method | Endpoint | Auth Required | Description |
|---|---|---|---|
| GET | /ping | ❌ | Health check |
| GET | /carlist | ✅ | Returns a list of cars |
| POST | /submit | ✅ | Accepts and returns JSON |
| GET | /status | ❌ | Returns API status |
| POST | /echo | ✅ | Echoes back posted JSON |
Authentication
Use a fixed bearer token: