module to submit an HTTP request with configurable retry logic for failed attempts