http request wrapper for jasmine integration testing