QGIS icon indicating copy to clipboard operation
QGIS copied to clipboard

allow POST method request alternative for QGIS Server WMS

Open InterStella0 opened this issue 2 years ago • 3 comments

Feature description

Allow the usage of POST method on WMS such as GetFeatureInfo REQUEST. This is because for GetFeatureInfo using GET has its flaw, one of the search parameters called FILTER_GEOM takes in WKT which works fine for small features but it is possible to reach max URI when its a complex multi-polygon with longer WKT string.

Additional context

ArcGIS REST WMS had something similar in their Query request called geometry which also uses GET, but the difference here is it also allows for POST method alternative which takes the same parameters as the GET request so it never had max URI length issue.

InterStella0 avatar Dec 29 '23 11:12 InterStella0

Actually, you can call QGIS Server Services with method=POST and the parameters inside the body of the request.

tobias-brunner avatar Oct 22 '25 13:10 tobias-brunner

Actually, you can call QGIS Server Services with method=POST and the parameters inside the body of the request.

Enlighten me, as i've tried this in december 2023, when was this implemented?

InterStella0 avatar Nov 09 '25 07:11 InterStella0

No clue when - but I'm using version 3.26 (released in 2022) and it works. Maybe you can post a generic example of your request?

tobias-brunner avatar Nov 11 '25 08:11 tobias-brunner