GetWithRetry performs a GET request with retry logic.
(ctx context.Context, path string, result *map[string]interface{}, maxRetries int)
| 63 | |
| 64 | // GetWithRetry performs a GET request with retry logic. |
| 65 | func (hc *HTTPClient) GetWithRetry(ctx context.Context, path string, result *map[string]interface{}, maxRetries int) error { |
| 66 | return hc.doRequestWithRetry(ctx, "GET", path, nil, result, maxRetries) |
| 67 | } |
| 68 | |
| 69 | // doRequest performs an HTTP request with proper authentication. |
| 70 | func (hc *HTTPClient) doRequest(ctx context.Context, method, path string, data interface{}, result *map[string]interface{}) error { |