Created
March 22, 2012 08:58
Mockjax Definitions for my Fork Join Blog post
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$.mockjax( { | |
url: "http://api.github.com/users/arobson", | |
type: "GET", | |
status: 200, | |
data: { | |
"name": "Alex Robson", | |
"company": "appendTo", | |
"public_repos": 31, | |
"followers": 18, | |
"following": 4, | |
"html_url": "https://github.com/arobson" | |
} | |
} ); | |
$.mockjax( { | |
url: "https://api.twitter.com/1/users/show.json?screen_name=A_Robson", | |
type: "GET", | |
status: 200, | |
data: { | |
"name": "Alex Robson", | |
"profile_image_url": "https://twimg0-a.akamaihd.net/profile_images/1621555218/stogie.jpg", | |
"url": "http://twitter.com/!#/a_robson", | |
"followers_count": 287, | |
"description": "Aspiring coder of all the things.", | |
"friends_count": 245, | |
"statuses_count": 4322, | |
"screen_name": "A_Robson" | |
} | |
} ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment