Re: How to get diff draft info using web API?

2013-01-11 Thread Baybora Aksoy
Hi,

It didn't work. Here is the post data:

--8cfbe28cefd0b93
Content-Disposition: form-data; name="basedir"

trunk/
--8cfbe28cefd0b93
Content-Disposition: form-data; name="api_format"

xml
--8cfbe28cefd0b93
Content-Disposition: form-data; name="path"; filename="testagain.diff"
Content-Type: text/plain

Index: admin.html
===
--- admin.html (revision 2)
+++ admin.html (working copy)
@@ -140,7 +140,7 @@
 
 
 
-  Tip: Want to add
+  Tip: Would you like to add
   additional Subversion features like Code Search, Code Review,
   Analytics or enhanced permissions management?  
   Connect Subversion Edge to

--8cfbe28cefd0b93--


Thanks,

Bora

On Friday, January 11, 2013 1:10:59 PM UTC-6, Raja wrote:
>
>
> Can you try passing api_format=xml along with your POST parameters ? 
>
> -Raja
>
>

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en




Re: How to get diff draft info using web API?

2013-01-11 Thread Raja
On Fri, Jan 11, 2013 at 7:40 AM, Baybora Aksoy  wrote:

> 2. Server's response to the POST (that creates the new diff)  contains the
> new diff info in JSON. How can I make it to return in XML? Accept header is
> set to application/xml on the request.
>

Can you try passing api_format=xml along with your POST parameters ?

-Raja

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en