Closed matthewmueller closed 11 years ago
It'd be nice to expose something that allows you to modify the root url so you can point to subdomains:
user.save() => POST http://api.example.com/user
Try altering User.base that'll default to /user, User.base = '/api/user' etc, though it would be nice to have an api for this at the model level so you can specify a prefix once
User.base
/user
User.base = '/api/user'
model
It'd be nice to expose something that allows you to modify the root url so you can point to subdomains:
user.save() => POST http://api.example.com/user