Skip to content

Custom endpoint for handler #40

@johannesnagl

Description

@johannesnagl

Hi,

is there any way we can add some custom endpoints to a specific handler?

I'm talking about

POST /posts/ for creating elements
POST /posts/<<ID>>/duplicate for duplicating a specific element

When defining a second POST-route I always end up calling the same handlePost() method. Is there any solution for this scenario?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions