title: SQL query on Google Sheets JSON API v4
body: <p>I want to send an SQL query to Google Sheets REST API, which returns JSON for values, instead of HTML or JSONP(text)</p>
  
  <p>The API i am talking about is this:
  <a href="https://developers.google.com/sheets/api/reference/rest/" rel="nofollow noreferrer">https://developers.google.com/sheets/api/reference/rest/</a></p>
  
  <p>But i cannot see any Reference for giving SQL query as part of the API.
  Is this not possible?</p>
  
  <p>Google Sheets does allow to process SQL query but it is giving me only HTML or some text based JSONP data back, instead of pure json.</p>
  
  <p>The endpoint i am using is this:</p>
  
  <p>GET <a href="https://sheets.googleapis.com/v4/spreadsheets/" rel="nofollow noreferrer">https://sheets.googleapis.com/v4/spreadsheets/</a>{spreadsheetId}/values/{range}</p>