[Users] WFS GET vs POST request
Espen Isaksen
espen.isaksen at gmail.com
Fri Feb 24 12:02:22 CET 2012
I have tried for a while to find the answer to this question, but no
luck unfortunately.
I have a WFS request running from my code:
var protocol = new OpenLayers.Protocol.WFS({
url: 'http://localhost/wfs',
version: "1.0.0",
featureType: "lib_matrikkel_flate",
featureNS: "",
srsName: "EPSG:32633"
//,format: new OpenLayers.Format.GeoJSON()
});
var proxyProtocol = new GeoExt.data.ProtocolProxy({
protocol: protocol
});
var store = new GeoExt.data.FeatureStore({
layer: propertyBorder,
proxy: proxyProtocol,
autoLoad: true
});
This runs a POST request. I would like it to do a GET request instead.
Setting method: "GET" on the ProtocolProxy does not work. How can I
change from a POST request to a GET request?
Espen
More information about the Users
mailing list