Accept both types array and hash as request patterns