Search code examples
curloauth-2.0google-oauthgoogle-sitesbearer-token

Accessing a non-Public Google Sites page using curl + Bearer Token


I need to access non-Public Google Site using Curl. Is it possible to GET a Google Site page using curl and sending in Bearer Token as part of the Authorization header?

I usually do this with Spreadsheets. But can't get it to work with Google Sites.


Solution

  • This is not possible currently with the new Google Sites. Google doesn't provide an API for this.