AnsweredAssumed Answered

Trying to check out Doc with Rest api

Question asked by erictice on Jun 8, 2009
Latest reply on Jun 9, 2009 by erictice
Alright,  I am using the following to check out a file from the api.  It returns the atom/xml  but doesn't checkout the doc. 

GetMethod method = new GetMethod(
      HttpClient client = new HttpClient();
      Credentials defaultcreds = new UsernamePasswordCredentials("admin",
      client.getState().setCredentials(AuthScope.ANY, defaultcreds);
      // Send POST request
      int statusCode = client.executeMethod(method);

the api doc is limited.  Any help would be appreciated.