Also,

The test code is expecting a HTTP 200 (OK) result for everything. Thats fine
for a GET, but when you create something 201 (Created) is the usual
response. So you can either make the test smarter so that when you create
something it expects a 201, or to not throw errors for anything 20x.
Peter Dietz



On Wed, Jun 1, 2011 at 5:16 AM, Bojan Suzic <bojan.su...@gmail.com> wrote:

>
> Hi Dhaivat,
>
> I tested it now, there is no input to the script provided. Only xml and
> json are supported.
> Later in the day I will try to provide an example how to make a post/put
> request.
>
> Regards
> Bojan
>
>
> > I am using Xml ..i have attached a java file which sends the request to
> > REST API and get the response ...
> >
> >
> > Dhaivat
>
>
>
> ------------------------------------------------------------------------------
> Simplify data backup and recovery for your virtual environment with
> vRanger.
> Installation's a snap, and flexible recovery options mean your data is
> safe,
> secure and there when you need it. Data protection magic?
> Nope - It's vRanger. Get your free trial download today.
> http://p.sf.net/sfu/quest-sfdev2dev
> _______________________________________________
> DSpace-tech mailing list
> DSpace-tech@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>
------------------------------------------------------------------------------
Simplify data backup and recovery for your virtual environment with vRanger. 
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Data protection magic?
Nope - It's vRanger. Get your free trial download today. 
http://p.sf.net/sfu/quest-sfdev2dev
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to