Hello list,

Can anyone give an example of how to add parameters to a PHPcURL request 
like: "/workspaces/<ws>/datastores/<ds>/file[.<extension>]"

I'm trying to set the 'configure' parameter for a REST shapefile upload.
Do i do that with postfields?  httpheader?
I've tried adding 'configure: all' to the httpheader and that doens't 
seem to work.

I've done some searching and saw some examples of setting" 
...CURLOPT_CUSTOMREQUEST, 'PUT'... " and then "...CURLOPT_POSTFIELDS, 
$fields.... "
to pass along whatever you put in the postfields $fields variable. Is 
this correct?

Next, what's the syntax for the Geoserver REST 'configure' parameter? I 
tried xml of <configure>all</configure> and 'configure: all' but those 
doesn't appear to work.

Thanks,
Ryan


------------------------------------------------------------------------------
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to