Hi Peter,
Need your help again. This time I am trying to upload a file using
curl_setopt in php5.5 and @ is deprecated as prefix.
So , can you help me writing request body again. I have tried using
CURLFile enabling safe upload but every time a txt file with all the data
is getting uploaded.
Hi Aman,
Your PHP snippet doesn't have all that much information.
https://wiki.duraspace.org/display/DSDOC5x/REST+API#RESTAPI-Items
From the documentation, to upload an item is:
- POST /items/{item id}/bitstreams - Add bitstream to item. You must
post a Bitstream
From the readme:
Thanks Peter Dietz , finally it's working now.
On Fri, Jun 5, 2015 at 8:29 PM, Peter Dietz pe...@longsight.com wrote:
Hi Aman,
You can test this example application to see the flow:
https://github.com/DSpace-Labs/dspace-rest-requests
The json you pass in, should look like:
{
email :
hi mark,
Yeah thats just a placeholder for the mail, I'm passing the correct email
and password while testing.
anything else that could be the problem.
Thanks
On Fri, Jun 5, 2015 at 7:34 PM, Mark H. Wood mw...@iupui.edu wrote:
On Fri, Jun 05, 2015 at 07:28:16PM +0530, Aman Singh wrote:
hi
On Fri, Jun 05, 2015 at 07:28:16PM +0530, Aman Singh wrote:
hi all,
I am trying login in Dspace remote server and getting error 500 and log
file shown below .
HTTP Status 500 - org.codehaus.jackson.JsonParseException: Unexpected
character ('e' (code 101)): expected a valid value (number,
Hi Aman,
You can test this example application to see the flow:
https://github.com/DSpace-Labs/dspace-rest-requests
The json you pass in, should look like:
{
email : EMAIL,
password : PASSWORD
}
So, debug what your passing in. And try it with something like chrome
extension Advanced Rest
6 matches
Mail list logo