title: Visual Studio Team Services REST API with curl
body: <p>I can access Team Services API with Google's DHC Extension or in code but can't achieve the same with curl.</p>
  
  <p>so far I've tried:</p>
  
  <p>curl -H "Authorization: Bearer MY_ACCESS_TOKEN" <a href="https://MYINSTANCE.VisualStudio.com/DefaultCollection/_apis/projects?api-version=2.0" rel="nofollow">https://MYINSTANCE.VisualStudio.com/DefaultCollection/_apis/projects?api-version=2.0</a></p>
  
  <p>i'm keep getting "Object moved to ...." result.</p>
  
  <p>How can i resolve this?</p>