8000 Use `GET` over `POST` where possible · Issue #351 · bcgov/bcdata · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Use GET over POST where possible #351

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
ateucher opened this issue Dec 20, 2024 · 0 comments
Open

Use GET over POST where possible #351

ateucher opened this issue Dec 20, 2024 · 0 comments
Labels
considering enhancement New feature or request wfs

Comments

@ateucher
Copy link
Collaborator
ateucher commented Dec 20, 2024

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.

@ateucher ateucher added considering enhancement New feature or request wfs labels Dec 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
considering enhancement New feature or request wfs
Projects
None yet
Development

No branches or pull requests

1 participant
0