myexperiment-hackers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[myexperiment-hackers] problem posting comments on the workflow


From: Archit Puri
Subject: [myexperiment-hackers] problem posting comments on the workflow
Date: Thu, 18 Mar 2010 23:59:49 +0000

Hello Everyone
I was working on myexperiment and was wondering if anyone of you have worked with POST requests using the myexperiment API. 
I have downloaded the myexperiment client OAuth and unable to work with POST Comments.
thanks in advance
Archit 



The message sent is: 


 MethodResourceParameters  
Request:   GET POST PUT DELETE      /  announcements.xml announcement.xml citation.xml comment.xml download.xml experiment.xml files.xml file.xml group-count.xml groups.xml group.xml job.xml message.xml packs.xml pack.xml picture.xml rating.xml rest-uri.xml review.xml runner.xml search.xml tag-cloud.xml tagged.xml tags.xml tag.xml user-count.xml users.xml user.xml workflows.xml workflow.xml     
? all_elements api_version elements id num order page query resource sort tag type version 
& all_elements api_version elements id num order page query resource sort tag type version 

Content Type:    Accept: 

Body: 


<?xml version="1.0" encoding="UTF-8" ?> 
<comment>
  <resource>http://www.myexperiment.org/workflows/1089</resource>
  <comment>This is my comment.</comment>
</comment>
Error received is:
<?xml version="1.0"?>
<error code="400" message="Bad Request">
  <reason>Commentable type can't be blank</reason>
</error>


reply via email to

[Prev in Thread] Current Thread [Next in Thread]