79372037

Date: 2025-01-20 16:42:38
Score: 1
Natty:
Report link
  1. Generate authcode with the below API

    https://accounts.google.com/o/oauth2/auth?client_id=YOUR_CLIENT_ID&redirect_uri=YOUR_REDIRECT_URI&response_type=code&scope=https://www.googleapis.com/auth/spreadsheets&access_type=offline

  2. Generate access token with below API

    curl -X POST https://oauth2.googleapis.com/token
    -H "Content-Type: application/x-www-form-urlencoded"
    -d "code=YOUR_AUTH_CODE"
    -d "client_id=YOUR_CLIENT_ID"
    -d "client_secret=YOUR_CLIENT_SECRET"
    -d "redirect_uri=YOUR_REDIRECT_URI"
    -d "grant_type=authorization_code"

You can use generated access token to hit Googlesheet PUT Rest API.

Reasons:
  • Whitelisted phrase (-1.5): You can use
  • Probably link only (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: SushilMall