I'm trying to send "Authorization"
in the header of a GET request.
In the REST Server, I'm using Slim Framework, and I'm trying to read headers with:
$app->request()->headers()->all();
this perfectly works, but I can't see the "Authorization"
field.
I tried to put a "test" field in the request and I can see it. How can I solve this?
I also tried with:
apache_request_headers();
but the result is not different.