Skip to content

Handling form submissions #10

Description

@ChrisButterworth

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions