Skip to content

Truncated Headers  #4

@titosen

Description

@titosen

Is there anyone experienced this?

$headers = $this->input->request_headers();
$token = $headers['Authorization'];

returns truncated token. I print the $headers to see why I'm getting 401 status. Here's the
result.

_result of Array
(
[Content-Type
] => application/json
[token
] => eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9
[Authorization
] => Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9
[User-Agent
] => PostmanRuntime/7.25.0
[Accept
] =>

I need some help. Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions