Invalid Authorization header?
eazulay opened this issue · comments
Eyal Azulay commented
On line 156:
$args = array_merge( $args, array( "headers" => array( "Authorization" => "token {$this->authorize_token}" ) ) );
Shouldn't it be "bearer" instead of "token" (as per line 56)? i.e.:
$args = array_merge( $args, array( "headers" => array( "Authorization" => "bearer {$this->authorize_token}" ) ) );
Is this a typo?