Created
May 29, 2013 17:14
-
-
Save thewarpaint/5672007 to your computer and use it in GitHub Desktop.
Prueba de API
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
// Este código: | |
var cur = new Currency({ 'code': 'XXX', 'name': 'XXX Currency', 'exchangeRate': 12.3456 }); | |
cur.$save(); | |
// Devuelve: | |
// 200 OK | |
{"id":33,"name":"XXX Currency","code":"XXX","isBase":false,"prefix":null,"suffix":null,"exchangeRate":"12.3456"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment