for some reason i'm sending some custom header in my Service, this is my code :
@GET("categories")
Call<List<Category>> categoryList(@Header("userName") String userName);
i'm wondering how i can get the value of my custom header in my php code, all what i know is :
$headerStringValue = $_SERVER['HTTP_XXXXXX_XXXX'];
what is the key that i should use to get the right value ?
thanks.