Headers
The headers
key allows you to set custom HTTP headers for your requests. This is useful for accessing APIs or other protected content.
Configuration
Section titled “Configuration”You can add any number of headers to your configuration:
headers: User-Agent: "Mozilla/5.0 (compatible; html2rss/1.0)" Authorization: "Bearer YOUR_TOKEN" Accept: "application/json"
Dynamic Parameters
Section titled “Dynamic Parameters”You can also use dynamic parameters in your headers to pass values at runtime. See Dynamic Parameters for more information.
For detailed documentation on the Ruby API, see the official YARD documentation.