Static HTML page with a single JSON API endpoint. The simplest cell that serves both HTML and data.
- Serving an HTML page from a string template
- A
GET /api/pingJSON endpoint - Routing between HTML and API in a single
fetchhandler
| Method | Path | Description |
|---|---|---|
GET |
/ |
HTML page with a Ping button |
GET |
/api/ping |
{ pong: true, timestamp, method } |
ribo deploy