title: Interacting with RESTful API's via Javascript?
body: <p>to start off, I know C++, C#, Python, some Ruby, and basic Javascript. Anyway, my question revolves around how to interact with RESTful API's via Javascript. I haven't been able to find any good examples on various websites, and so I've come here. </p>
  
  <p>So my basic question is: How do I interact with RESTful API's via JS? And where can I find out how to implement OAuth in JS? I know how to get my keys and such, just not how to actually code them in.</p>
  
  <p>Below is an example of a twitter API status update run from my MAC terminal with curl:</p>
  
  <pre><code>curl -u username:password 
  -d "my tweet" 
  http://api.twitter.com/1/statuses/update.json
  </code></pre>
  
  <p>How can I implement this in Javascript (preferably with OAuth authentication)? This would at least start me going in the right direction. </p>
  
  <p><strong><em>Thanks so much!!</em></strong></p>