What is right way to do http request on my custom module?