Added query method for Http adapter