Skip to content

Commit

Permalink
Add X-Api-User-Agent header.
Browse files Browse the repository at this point in the history
  • Loading branch information
remcotolsma committed Mar 21, 2024
1 parent 48a0056 commit b3f685d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,8 @@ private function request( $method, $endpoint, $token, $data = null ) {
*/
$args = [
'headers' => [
'Authorization' => 'Bearer ' . $token,
'Authorization' => 'Bearer ' . $token,
'X-Api-User-Agent' => '(pr: RSP-PRON-0001)',
],
'method' => $method,
'timeout' => 30,
Expand Down

0 comments on commit b3f685d

Please sign in to comment.