Config File Options
If you're making a request to an external import file/url and it requires additional validation you can use the datagrab_custom_headers config option. In this example 6 is the import ID to assign these headers to.
$config['datagrab_custom_headers'] = [
6 => [
'Content-Type: application/json',
'Authorization: Bearer YOUR_ACCESS_TOKEN'
]
];
If you want to disable verifying peers when making a cURL request you can set this to 'n'.
$config['datagrab_verify_peer'] = 'n';
Last updated
Was this helpful?