Skip to main content

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'
};

Hi, if you are using Postman then you would need to manually update your access token using the API. There is more information about credentials here in the documentation that I’m sure you have already read through.


If you are interested in automating your workflows then I would recommend you look into the Sentinel Hub Python Package, where you can use a configuration file to access the APIs. You can read more about this here.


This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.


Reply