Comment by evgeny.zislis:

The responses are json, but the requests (in rb 1.5) are strangle multipart form data! Took me ages to figure out how to request stuff from the server.

Example:
{{{
curl --cookie cookies.txt --cookie-jar cookies.txt -X POST -F "username=xxx" -F "password=yyy" http://reviewserver.com/api/json/accounts/login/

curl --cookie cookies.txt --cookie-jar cookies.txt -X GET http://reviewserver.com/api/json/repositories/
}}}


For more information:
http://code.google.com/p/reviewboard/wiki/ReviewBoardAPI

--
You received this message because you are subscribed to the Google Groups 
"reviewboard-issues" group.
To post to this group, send email to reviewboard-iss...@googlegroups.com.
To unsubscribe from this group, send email to 
reviewboard-issues+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/reviewboard-issues?hl=en.

Reply via email to