<?php
CURLOPT_URL => 'https://a...content-available-to-author-only...y.com/external/v1/candidate/report/pdf?candidate_id=22305',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER
=> array( 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJkYXRhIjp7ImNvbXBhbnlJZCI6MTA0NywidG9rZW5JZCI6MTM3NSwiY29tcGFueVV1aWQiOiI5OTYzMDMzMS1kMGIzLTQyNDItYTc1Zi0zZDBmOWM4ZTc0ZTMifSwiaWF0IjoxNzQyNTUzNTY3fQ.QMybDOCRkZ5WRCWYaZTBPXNLha-shZpImktVjfa9QqQ'
),
));
echo $response;
PD9waHAKCiRjdXJsID0gY3VybF9pbml0KCk7CgpjdXJsX3NldG9wdF9hcnJheSgkY3VybCwgYXJyYXkoCiAgQ1VSTE9QVF9VUkwgPT4gJ2h0dHBzOi8vYS4uLmNvbnRlbnQtYXZhaWxhYmxlLXRvLWF1dGhvci1vbmx5Li4ueS5jb20vZXh0ZXJuYWwvdjEvY2FuZGlkYXRlL3JlcG9ydC9wZGY/Y2FuZGlkYXRlX2lkPTIyMzA1JywKICBDVVJMT1BUX1JFVFVSTlRSQU5TRkVSID0+IHRydWUsCiAgQ1VSTE9QVF9FTkNPRElORyA9PiAnJywKICBDVVJMT1BUX01BWFJFRElSUyA9PiAxMCwKICBDVVJMT1BUX1RJTUVPVVQgPT4gMCwKICBDVVJMT1BUX0ZPTExPV0xPQ0FUSU9OID0+IHRydWUsCiAgQ1VSTE9QVF9IVFRQX1ZFUlNJT04gPT4gQ1VSTF9IVFRQX1ZFUlNJT05fMV8xLAogIENVUkxPUFRfQ1VTVE9NUkVRVUVTVCA9PiAnR0VUJywKICBD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