Browse files

Testing remote get.

  • Loading branch information...
1 parent c3346ce commit 319fc95f0a6ec29b608d03c5f861632a957a8b4d @marano committed Apr 23, 2011
Showing with 16 additions and 0 deletions.
  1. +16 −0 public/blah.html
View
16 public/blah.html
@@ -0,0 +1,16 @@
+<html>
+ <head>
+ <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js"></script>
+ </head>
+ <body>
+ <div id='result' />
+ <script>
+ $(function () {
+ $.get('https://api.foursquare.com/v2/users/self?oauth_token=YN1YTMIQU0S1KLYILLFQNQQIX5WTBZBRWW1Z2YBTLSBMJAR5', null, function (html) {
+ console.log(html);
+ $('#result').html(html);
+ });
+ });
+ </script>
+ </body>
+</html>

0 comments on commit 319fc95

Please sign in to comment.