This tutorial shows how to get refresh and access tokens using Postman.
Download and install Postman.
Create a new request tab.
3. Under authorization select Type: Oauth2 and press Get New Access Token.
4. Populate fields in the form with correct values (You will need your clientId, clientSecret and callbackUrl).
5. Click Request Token and you should have your tokens displayed.