frappe ui how to integrate my Api key from createListResource

i installed frappe ui and succeeded with the ping request. Now using createListResource to fetch some data i get this “POST /api/method/frappe.client.get_list HTTP/1.1” 403.
But when using postman with ‘Authorization: token api_key:api_secret’ the request is successfull. My question is: how can i use createListResource in my code by passing Authorization header containing the api_key and api_secret ?? Please help

No one to help in this community please ???