- Add support for passing full URL to model request method.
// Person model
var Person = Gillie.Model.extend({
// Base URL
url: 'http://myapi.com'
});
// Create a person instance
var person = new Person({
name: 'John',
age: 30
});
// As normal this will make a request to
// `http://myapi.com/person`
person.Post( '/person' );
// But also, we can specify a full URL for the request.
// This will make a request to `http://otherapi.com/person`.
person.Post( 'http://otherapi.com/person' );