I m sending a GET request to a published google sheets. All the tutorials show that a JSON object is returned but I receive HTML. Is it due to an update? How can I parse it into JSON?
Published sheet: https://docs.google.com/spreadsheets/d/e/2PACX-1vTLSQ-WGM8O0iCCTal0eFoAvFFIVK04UxUiCuBJLGVy89EY301-0cF5PZupIXh-sF_L9pHIw6tVtN1G/pubhtml
Expected output when you go to the link: JSON object
Obtained output: HTML
References: https://sandbox.idre.ucla.edu/sandbox/general/databasing-google-spreadsheets-to-json
In these, JSON is returned when a request is made whereas I receive an HTML
An example of google sheet returning JSON:
https://spreadsheets.google.com/feeds/list/SPREADSHEET_ID/od6/public/basic?alt=json