Skip to content

Add the csrf_exempt decorator to perform HTTP POST in Django #2069

@IngenieroGeomatico

Description

@IngenieroGeomatico

Hello,

To perform an HTTP POST in Django, you need to add a decorator to the view.py file.

In my fork og pygeoapi, I have implemented it as follows:

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions