demo-marco

Детали репозитория
| Репозиторий #1050407427 | |
|---|---|
| Автор | Lorenzo Rottigni |
| Создано | 2025-09-04 |
| Обновлено | 2025-09-04 |
| Последний push | 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: