<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:opensearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Recent Posts in Posting to a nested resource | Unfuddle Community</title>
    <link>http://unfuddle.com/community</link>
    <description>Unfuddle Community Forums</description>
    <item>
      <guid isPermaLink="false">www.unfuddle.com/community:6:774:2175</guid>
      <title>Posting to a nested resource replied by Joshua Frappier @ Fri, 20 Nov 2009 16:27:45 UTC</title>
      <link>http://www.unfuddle.com/community/forums/6/topics/774</link>
      <description>Paul,

There should not be any problem posting to the comments resource of a ticket to create a comment. However, I do notice that you are missing a closing &quot;&gt;&quot; character at the end of the data you are posting. I can confirm from our logs that this is why your request is failing.

I hope that helps!</description>
      <pubDate>Fri, 20 Nov 2009 16:27:45 UTC</pubDate>
      <author>Joshua Frappier</author>
    </item>
    <item>
      <guid isPermaLink="false">www.unfuddle.com/community:6:774:2174</guid>
      <title>Posting to a nested resource posted by PaulO @ Fri, 20 Nov 2009 15:20:17 UTC</title>
      <link>http://www.unfuddle.com/community/forums/6/topics/774</link>
      <description>Am I doing something incorrectly, or is there a glitch in the API?

&lt;code&gt;curl -i -u 'login:password' -X GET 'http://subdomain.unfuddle.com/api/v1/projects/project_id/tickets/ticket_id/comments'&lt;/code&gt;
works, but 
&lt;code&gt;curl -i -u 'login:password' -X POST -H 'Accept: application/xml' -H 'Content-type: application/xml' -d '&lt;comment&gt;&lt;body&gt;Test&lt;/body&gt;&lt;/comment' 'http://subdomain.unfuddle.com/api/v1/projects/project_id/tickets/ticket_id/comments'&lt;/code&gt;
gives me a 500 error.

Does anyone have an example of posting a comment that works?</description>
      <pubDate>Fri, 20 Nov 2009 15:20:17 UTC</pubDate>
      <author>PaulO</author>
    </item>
    <item>
      <guid isPermaLink="false">www.unfuddle.com/community:6:774:2176</guid>
      <title>Posting to a nested resource replied by PaulO @ Fri, 20 Nov 2009 16:34:58 UTC</title>
      <link>http://www.unfuddle.com/community/forums/6/topics/774</link>
      <description>Wow.  My apologies.  Thanks for spotting that.</description>
      <pubDate>Fri, 20 Nov 2009 16:34:58 UTC</pubDate>
      <author>PaulO</author>
    </item>
  </channel>
</rss>

