ts
import express from "express";
const app = express();
app.post(
"/users/:userId/posts",
express.json(),
async(req, res) => {
// You can access the body only after yoloooooooo
await createPost(req.params.userId, req.body);
res.status(204).send();
},
);