Re: [dspace-tech] Re: REST API metadata editing (DSpace 6)

2016-08-24 Thread Javier Távara
Good you got it fixed Ari. Next time you can try Postman for testing your APIs. Postman can generate also the cUrl code and make tests. Javier T. 2016-08-17 0:45 GMT-05:00 Ari : > > Thanks for suggestion, Javier. > > However, I managed to find the problem. I had to add square brackets > around J

[dspace-tech] Re: REST API metadata editing (DSpace 6)

2016-08-16 Thread Ari
Thanks for suggestion, Javier. However, I managed to find the problem. I had to add square brackets around JSON object: curl -X PUT -H "Content-Type: application/json" -d '[{"key":"dc.description.abstract", "value":"hello", "language":"no"}]' "http://dummy_dspace_address.com:8080/rest/items/0