users@jersey.java.net

curl problems with jersey

From: Felipe Gaścho <fgaucho_at_gmail.com>
Date: Sat, 19 Sep 2009 17:06:37 +0200

curl -d login=fgaucho -d password=test -d email=fgaucho_at_gmail.com -d
name="Felipe Gaścho"
http://fgaucho.dyndns.org:8080/arena-http/user/create

All parameter are null on the server :( why ?

        @POST
        @Produces( { MediaType.APPLICATION_XML, MediaType.APPLICATION_JSON })
        @Path("create")
        public Response insert(@QueryParam("login") String login,
                        @QueryParam("password") String password,
                        @QueryParam("email") String email, @QueryParam("name") String name) {

* I can debug and I see the method being called, with all params null


* the create path will be removed, it is already the test of the re-test :)

-- 
Looking for a client application for this service:
http://fgaucho.dyndns.org:8080/footprint-service/wadl