<div dir="ltr">Hi!<div><br></div><div>Getting objects from Featureserver works fine, but I have not been able to find a good example on how to POST an object. From the demo I see that one can do a WFS insert by using the URL:</div>
<div><br></div><div><table selected class="" cellpadding="0" cellspacing="0"><tbody class=" "><tr class=" "><td class=""><span class=" "></span></td><td class=""><code class=""><a href="http://featureserver.org/fs?SERVICE=WFS&VERSION=1.1.0&REQUEST=GetFeature&TYPENAME=fs_polygon">http://featureserver.org/fs?SERVICE=WFS&VERSION=1.1.0&REQUEST=GetFeature&TYPENAME=fs_polygon</a><br>
<br>However I want to POST a GeoJSON object so I thought maybe I could do something like this:<br>curl -X POST -d @elveg.json <a href="http://localhost:9000/fs?SERVICE=GeoJSON&VERSION=1.1.0&REQUEST=GetFeature&TYPENAME=elveg">http://localhost:9000/fs?SERVICE=GeoJSON&VERSION=1.1.0&REQUEST=GetFeature&TYPENAME=elveg</a><br>
<br>That does not work. It just complains about not finding a layer called 'fs'?<br><br>Is there some documentation on how to POST objects?<br><br>Espen<br><br><br><br></code></td></tr></tbody></table><div><br></div>
-- <br><div><a href="http://www.turkompisen.no" target="_blank">http://www.turkompisen.no</a></div><a href="http://www.kresendo.no/" target="_blank">http://www.kresendo.no/</a><br><div><a href="http://no.linkedin.com/in/espenisaksen" target="_blank">http://no.linkedin.com/in/espenisaksen</a><br>
<br><br></div>
</div></div>