If you tell curl to display headers from the result, ("curl -D -" is the
way I usually do that) you should see you're getting a permissions
error.  Non-GET operations against the REST API are disabled for
unauthenticated users, so you should include user info in your request;
you can do this by including user:pass@ in the URL
(http://admin:pas...@localhost:8080/geoserver/...)

Hope this helps.
--
David Winslow
OpenGeo - http://opengeo.org/

On Fri, 2009-03-20 at 17:13 +1100, Jody Garnett wrote:
> I assume you found the docs? I think this kind of question should be
> sent to the user list - this devel list is mostly for people hacking
> on geoserver.
> Jody
> 
> On Sat, Mar 21, 2009 at 3:39 AM, Nguyen Tuan Son <[email protected]> wrote:
> > Hi all,
> >
> >
> >
> > I’m newbie to GEOSERVER. I want to know about REST Extension of GEOSERVER,
> > how to use it, how to call it. I try to call REST API through curl in Window
> > XP but it always response in html and also I only can call GET method, not
> > PUT, DELETE… I installed GEOSERVER 1.7.3 and restconfig 1.7.3 extension.
> >  Please help me.
> >
> >
> >
> > Thanks,
> >
> > Tuan Son
> >
> > ------------------------------------------------------------------------------
> > Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
> > powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
> > easily build your RIAs with Flex Builder, the Eclipse(TM)based development
> > software that enables intelligent coding and step-through debugging.
> > Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
> > _______________________________________________
> > Geoserver-devel mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/geoserver-devel
> >
> >
> 
> ------------------------------------------------------------------------------
> Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
> powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
> easily build your RIAs with Flex Builder, the Eclipse(TM)based development
> software that enables intelligent coding and step-through debugging.
> Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
> _______________________________________________
> Geoserver-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-devel


------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to