diff --git a/gcf_sheets_api.go b/gcf_sheets_api.go index e3e8aea..7d15dc0 100644 --- a/gcf_sheets_api.go +++ b/gcf_sheets_api.go @@ -64,6 +64,7 @@ func getSheetData(sheet *RawSheetData) string { // Create JSON response from sheet data func httpResponse(w http.ResponseWriter, r *http.Request) { + w.Header().Set("Content-Type", "application/json"); fmt.Fprint(w, getSheetData(sheetDataToStruct())) }