A refresh token is required to perform the POST and GET methods in the Google PostMan application. After you generate a refresh token, it is valid for six months.
Perform the following steps to generate the refresh token:
Enter the following URL in the Google PostMan application:
tab in the Google PostMan application where you can configure the properties to generate the refresh token:
Select the
POST
method.
On the
Header
tab, enter
Content-Type
in the
Key Name
field and
application/x-www-form-urlencoded
in the
Value
field.
On the
Body
tab, enter the xml request in the following format:
grant_type=authorization_code &client_id=<client_id>@<bearer_realm> &client_secret=<client_secret> &code=<auth_code> &redirect_uri=<redirect_url> &resource=< audience principal ID >/<site_host>@<bearer_realm>