ım using rest api to generate access token and refresh token from google api
the tutorial that ı follow is here
when ı try to send curl ı got this error
"error": "unsupported_grant_type",
"error_description": "Invalid grant_type: "
ı found this sloution on stackoverflow link but didnt work . here is my curl
curl -d "code=4/0AY0e-g4NhDiqBSToonAVCsw9JglcffbxGie1bssXcAKLuRDB7KYDluta7ZpNvHEoqylJyw&client_id={client_id}&client_secret={client_secret}=https://api.dev.example.net&grant_type=authorization_code" -H "Content-Type: application/x-www-form-urlencoded" -X POST https://oauth2.googleapis.com/token