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/0000c4c0-7e11-4a18-bf94-8192275e50e4/metadata"Can not deserialize instance of org.dspace.rest.common.MetadataEntry[] out of START_OBJECT token at [Source: org.glassfish.jersey.message.internal.ReaderInterceptorExecutor$UnCloseableInputStream@7780731e; line: 1, column: 1]
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/0000c4c0-7e11-4a18-bf94-8192275e50e4/metadata"Unrecognized token 'key': was expecting ('true', 'false' or 'null') at [Source: org.glassfish.jersey.message.internal.ReaderInterceptorExecutor$UnCloseableInputStream@5c8c7a38; line: 1, column: 5]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/0000c4c0-7e11-4a18-bf94-8192275e50e4/metadata" -b cookies.txtcurl --data "email=your.email&password=your_pass" http://your_dspace.com:8080/rest/login -c cookies.txt{"okay":true,"authenticated":true,"email":"your.email","fullname":"ari ","sourceVersion":null,"apiVersion":null}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/0000c4c0-7e11-4a18-bf94-8192275e50e4/metadata" -b cookies.txt--
You received this message because you are subscribed to a topic in the Google Groups "DSpace Technical Support" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/dspace-tech/49KBEXeavyM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to dspace-tech+unsubscribe@googlegroups.com.
To post to this group, send email to dspac...@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.