[QGIS-Developer] QgsBlockingNetworkRequest and PATCH method (Python)

Bo Victor Thomsen bo.victor.thomsen at gmail.com
Mon Jan 31 13:38:46 PST 2022


Hi list -

I have a Internet resource ("Miljøportalen", The Danish portal for 
environmental data: 
https://arealeditering-api.demo.miljoeportal.dk/swagger/index.html) 
where I would like to use the QgsBlockingNetworkRequest from a Python 
based plugin to access this resource.

I can see, that QgsBlockingNetworkRequest Class supports methods GET, 
PUT, POST, HEAD and DELETE. However, according to the documentation for 
the resource, I have to use the "PATCH" method for updating existing 
objects on the server

Is this possible using the QgsBlockingNetworkRequest Class from Python? 
Or is there any other Python Class I can use for this purpose ??


-- 
Med venlig hilsen / Kind regards

Bo Victor Thomsen



More information about the QGIS-Developer mailing list