I am using react to fetch statistical api and I have to use access token to access api. I generate this token using Postman and it has expiration of 60 min. Is there anyway I would update access token without manually changing access token.
const headers = {
Authorization: `Bearer ${'ACCES TOKEN'}`,
'Content-Type': 'application/json',
Accept: 'application/json'
};