I'm trying to make a simple PUT
call to google sheets API. I followed some of the http.put
syntax, but keep getting the error: this.http.put(...).map is not a function.
My code block:
return this.http
.put(url, JSON.stringify(data), {headers: headers})
.map(
(res: any) => {
res.json();
console.log ("transaction data updated to google seets:"+res.json());
}
);