Add a new function send requests (postRequest) in a separate module.