I've come across several examples on the web that look like this:
createArticle(article: Article): Observable<Article> {
return this.http.post<Article>(this.url, article);
}
These examples all assume that the web API's response contains an Article. But how can I modify the above code so that it posts an Article to the web API and receives a response in the form of a string?