A helper for wrapping calls to HTTP APIs during Node/REST API tests.