You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-`method` (String) The HTTP Method for the request. Allowed methods are a subset of methods defined in [RFC7231](https://datatracker.ietf.org/doc/html/rfc7231#section-4.3) namely, `GET`, `HEAD`, and `POST`. `POST` support is only intended for read-only URLs, such as submitting a search.
149
158
-`request_body` (String) The request body as a string.
150
159
-`request_headers` (Map of String) A map of request header field names and values.
160
+
-`request_timeout_ms` (Number) The request timeout in milliseconds.
161
+
-`retry` (Block, Optional) Retry request configuration. By default there are no retries. Configuring this block will result in retries if an error is returned by the client (e.g., connection errors) or if a 5xx-range (except 501) status code is received. For further details see [go-retryablehttp](https://pkg.go.dev/github.com/hashicorp/go-retryablehttp). (see [below for nested schema](#nestedblock--retry))
151
162
152
163
### Read-Only
153
164
154
165
-`body` (String, Deprecated) The response body returned as a string. **NOTE**: This is deprecated, use `response_body` instead.
155
166
-`id` (String) The URL used for the request.
156
167
-`response_body` (String) The response body returned as a string.
157
168
-`response_headers` (Map of String) A map of response header field names and values. Duplicate headers are concatenated according to [RFC2616](https://www.w3.org/Protocols/rfc2616/rfc2616-sec4.html#sec4.2).
158
-
-`status_code` (Number) The HTTP response status code.
169
+
-`status_code` (Number) The HTTP response status code.
170
+
171
+
<aid="nestedblock--retry"></a>
172
+
### Nested Schema for `retry`
173
+
174
+
Optional:
175
+
176
+
-`attempts` (Number) The number of times the request is to be retried. For example, if 2 is specified, the request will be tried a maximum of 3 times.
177
+
-`max_delay_ms` (Number) The maximum delay between retry requests in milliseconds.
178
+
-`min_delay_ms` (Number) The minimum delay between retry requests in milliseconds.
0 commit comments