Api authorization problem

hello, my login page is working fine, and i an getting bearer token in response.
but when i try to authenticate a page using that authentication, I am getting 401 error but same is working fine in postman
Here is my code:

`sharedPreferences = await SharedPreferences.getInstance();
String Authorization =  sharedPreferences.getString("token");
print('Here status code is' + Authorization);
//var data = await http.get("");
var data = await http.get("",
    headers: <String, String>{
      'Content-Type': 'application/json', //add context-type
      'Authorization': 'Bearer $Authorization',

Also tried all the options mentioned below
// headers: <String, String>{
// ‘Content-Type’: ‘application/json’, //add context-type
// ‘Accept’: ‘application/json’,//add accept
// ‘Authorization’: ‘Bearer $Authorization’,
// }
//headers: <String, String>{‘Authorization’: ‘$Authorization’,}
//headers: {‘Content-Type’: ‘application/json’, ‘Accept’: ‘application/json’, ‘Authorization’: ‘$Authorization’,}
//headers: {HttpHeaders.contentTypeHeader: “application/json”, HttpHeaders.authorizationHeader: “$Authorization”}
//var data = await http.get(“”);
print(‘status code is’ + (data.statusCode).toString());
print(‘status code is’ + Authorization);`