Refactoring the common class to get a more generic way to deal with HTTP requests
Oops, ugly error, you didn't see anything... ;)