Not sure if I'm being completely idiotic or not but can't seem to get any post requests working - would love some additional documentation for this before I tear my hair out.
Currently have:
router.post("/create", createHandler);
and:
export async function createHandler(ctx: Context) {
But can't access any value passed and adding the params similar to the docs creates compilation errors.
Please help
Not sure if I'm being completely idiotic or not but can't seem to get any post requests working - would love some additional documentation for this before I tear my hair out.
Currently have:
and:
But can't access any value passed and adding the params similar to the docs creates compilation errors.
Please help