Request now accepts url, method and data arguments instead of an array
Style improvements