`an http request` is correct, you can tell because leaving off the n, it sounds really weird.