Skip to content

Instantly share code, notes, and snippets.

@panayi
Created January 17, 2013 14:38
Show Gist options
  • Select an option

  • Save panayi/4556347 to your computer and use it in GitHub Desktop.

Select an option

Save panayi/4556347 to your computer and use it in GitHub Desktop.
console.log just before jquery.ajax
"{
"data": "{\"user\":{\"first_name\":\"asd\",\"last_name\":\"testchangeName\",\"email\":\"as@asd.com\",\"username\":null,\"have_reached_age_of_majority\":false,\"favourite_category_id\":null}}",
"context": {
"serializer": {
"mappings": {
"keys": {
"presenceSet": {
"ember417": true,
"ember418": true
},
"list": [
null,
null
]
},
"values": {
"ember417": {
"categories": {
"key": "category_ids"
}
},
"ember418": {
"competition": {
"embedded": true
},
"challenger": {
"embedded": true
}
}
}
},
"configurations": {
"keys": {
"presenceSet": {
"st171": true
},
"list": [
"plurals"
]
},
"values": {
"st171": {
"category": "categories"
}
}
},
"globalConfigurations": {
"meta": "meta",
"since": "since"
},
"transforms": {
"string": {},
"number": {},
"boolean": {},
"date": {},
"object": {}
},
"sideloadMapping": {
"keys": {
"presenceSet": {},
"list": []
},
"values": {}
},
"_didReifyConfigurations": true,
"_didReifyMappings": true
},
"_attributesMap": {
"keys": {
"presenceSet": {
"st172": true,
"st173": true
},
"list": [
"BuddyBet.Category",
"BuddyBet.Challenge"
]
},
"values": {
"st172": {
"categories": {
"key": "category_ids"
}
},
"st173": {
"competition": {
"embedded": true
},
"challenger": {
"embedded": true
}
}
}
},
"_configurationsMap": {
"keys": {
"presenceSet": {
"st171": true
},
"list": [
"plurals"
]
},
"values": {
"st171": {
"category": "categories"
}
}
},
"_outstandingOperations": {
"keys": {
"presenceSet": {},
"list": []
},
"values": {}
},
"_dependencies": {
"keys": {
"presenceSet": {},
"list": []
},
"values": {}
}
},
"url": "http://integration.buddybet.com/api/v2/me.json",
"type": "PUT",
"dataType": "json",
"contentType": "application/json; charset=utf-8"
}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment