| [ Web Proxy ] |
| Viewing: https://raw.githubusercontent.com/SimplifyNet/web-frameworks/develop/javascript/tinyhttp/app.js | [Back] [Original] |
import { App } from '@tinyhttp/app';
const app = new App();
app
.get('/', (_, res) => {
res.send('');
})
.get('/user/:id', (req, res) => {
res.send(`${req.params.id}`);
})
.post('/user', (req, res) => {
res.end('');
})
.listen(3000);
| Web Proxy Viewer | New URL | Original Page |