Skip to content

Use GET over POST where possible #351

Description

@ateucher

we use POST because we use the spatial filtering features of WFS and allow a user to subset a layer by uploading a feature and using the WFS spatial predicates (INTERSECTS, WITHIN, etc). Sometimes this upload is bigger than can be supplied via query parameter in GET so we use POST and add the feature to the request body.

However, there are lots of requests that don't require POST, and we've had various issues with POST requests (eg. #348), so it may be a good idea to use GET except when we are doing a spatial filter.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions