demo-marco

Detalles del repositorio
| Repositorio #1050407427 | |
|---|---|
| Autor | Lorenzo Rottigni |
| Creado el | 2025-09-04 |
| Actualizado el | 2025-09-04 |
| Último push | 2025-09-04 |
| Tamaño | 13 MB |
| Lenguaje principal | JavaScript |
| Número de estrellas | 0 |
| Rama por defecto | main |
Habilidades del repositorio
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: