I created a cURL script to update a file info which needs a token. Currently, I am not using OAUTH neither JWT for the authentication process in real time (which could be complex to implement).
I am using the 'Box Token Generator' to manually generate the token which is valid for only 60 minutes. Hence every hour I have to refresh it and get a new one.
When I have the new token I need to update my cURL script.
I would like to use the same logic, automate the process and avoid the manual steps (manual re-generation of the token).
Can you please suggest the best approach.
Please sign in to leave a comment.