Document that HTTP data fetcher plugin support Guzzle request options

Created on 7 August 2024, 7 months ago
Updated 28 August 2024, 7 months ago

The current HTTP data fetcher usage example looks next:

 * @code
 * source:
 *   plugin: url
 *   data_fetcher_plugin: http
 *   headers:
 *     Accept: application/json
 *     User-Agent: Internet Explorer 6
 *     Authorization-Key: secret
 *     Arbitrary-Header: foobarbaz
 * @endcode

I propose adding the 'request_options' example to it. Something like:

 * @code
 * source:
 *   plugin: url
 *   data_fetcher_plugin: http
 *   headers:
 *     Accept: application/json
 *     User-Agent: Internet Explorer 6
 *     Authorization-Key: secret
 *     Arbitrary-Header: foobarbaz
 *   # Guzzle request options can be added.
 *   # See https://docs.guzzlephp.org/en/stable/request-options.html
 *   request_options:
 *     timeout: 300
 *     allow_redirects: false
 * @endcode
πŸ“Œ Task
Status

Fixed

Version

6.0

Component

Documentation

Created by

πŸ‡ΊπŸ‡¦Ukraine init90 Ukraine

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024