I'm trying to use Http_poller input plugin, to get results from an API, it works fine while the access token is valid, however its only valid for one hour, I want to be able to refresh the access token with the refresh token that I already have, using a post request.
So I'm not sure how to make this post request for the refresh. and how to change the URL to have the new access token.