added gitignore
added the request variable to rest callbacks.
Merge pull request #1 from andreaazzara/master

added gitignore; added the request variable to rest callbacks