ImpolyzerDataStudio© 4 beta 51
POSTED , 02 DIC 2021
Nuovo! Menu rapidi per lavorare con i file XML, JSON e testare API REST PAGOPA
{ "info": {
"name": "Gmail Authentication",
"schema": "ImpolyzerDataStudio"
},
"item": [
{
"name": "GETCODE",
"request": {
"method": "GET",
"header": [],
"url": "https://accounts.google.com/o/oauth2/v2/auth",
"query": [
{
"key": "scope",
"value": "https://mail.google.com"
},
{
"key": "access_type",
"value": "offline"
},
{
"key": "response_type",
"value": "code"
},
{
"key": "redirect_uri",
"value": "http://localhost:8080"
},
{
"key": "client_id",
"value": "@client_id"
}
]
},
"response": [{
"key": "code",
"value": "@code"
}]
,
"response_from": "browser"
}
........
{
"name": "REFRESH",
"request": {
"method": "POST",
"header": [],
"url": "https://accounts.google.com/o/oauth2/token",
"params": [
{
"key": "client_id",
"value": "@client_id",
"type": "text"
},
{
"key": "client_secret",
"value": "@client_secret",
"type": "text"
},
{
"key": "refresh_token",
"value": "@refresh_token",
"type": "text"
},
{
"key": "grant_type",
"value": "refresh_token",
"type": "text"
}
]
},
"response": [{
"key": "access_token",
"value": "@access_token"
},
{
"key": "token_type",
"value": "@token_type"
},
{
"key": "refresh_token",
"value": "@refresh_token"
} ]
}