| http_request_with_retry | R Documentation |
Internal function to make HTTP requests with retry logic for transient failures.
http_request_with_retry(
method,
profile,
endpoint,
body = list(),
query_params = list(),
max_retries = 3,
retry_delay = 2
)
method |
Character. HTTP method ("GET" or "POST"). |
profile |
List. Profile configuration from load_profile(). |
endpoint |
Character. API endpoint path (without base URL). |
body |
List. Request body (for POST requests). |
query_params |
List. Query parameters. |
max_retries |
Integer. Maximum number of retries (default: 3). |
retry_delay |
Integer. Delay between retries in seconds (default: 2). |
Parsed JSON response.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.