On Dec 15, 2011, at 6:07 AM, <[email protected]<mailto:[email protected]>> <[email protected]<mailto:[email protected]>> wrote:
Now I want to attach an image to this DocumentID (DocumentID in this case is the timestampVariable) using xhr HTTPClient, now the thing is that I need the Document RevisionID to do that. How can I retrieve the RevisionID string of this documentID in a variable using xhr...? The revision ID is in the ‘rev’ parameter of the JSON reply body of the PUT that created the document. Just pull it out of the XHR response. —Jens
