Hi Ying, I think you need to provide the format, like:
http://path/to/rest/api/communities.xml or http://path/to/rest/api/communities.json Regards, Gary GARY BROWNE | Development Programmer Library IT Services | Fisher Library F03 THE UNIVERSITY OF SYDNEY T +61 2 9351 5946 | M +61 405 647 868 E [email protected] | W http://sydney.edu.au Sent from my plain old desktop computer. CRICOS 00026A This email plus any attachments to it are confidential. Any unauthorised use is strictly prohibited. If you receive this email in error, please delete it and any attachments. Please think of our environment and only print this e-mail if necessary. -----Original Message----- From: Ying Jin [mailto:[email protected]] Sent: Saturday, 22 June 2013 5:14 AM To: [email protected] Subject: [Dspace-tech] DSpace REST API on DSpace 3.1 Hi, Does anyone ever tested the DSpace REST API under DSpace 3.1? I have the API installed and used the rest-client 3.2 tested it. https://code.google.com/p/rest-client/wiki/Running However, if I send GET with /communities, I get HTTP/1.1 200 OK and some header response, but body or test result are all empty. I suppose I should get a list of community returned. Could anyone give me a hint? Thanks in advance for any help, Ying ------------------------------------------------------------------------------ This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev _______________________________________________ DSpace-tech mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette ------------------------------------------------------------------------------ This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev _______________________________________________ DSpace-tech mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

