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: