Api Response Plain Text Spring Boot

[Solved] Api Response Plain Text Spring Boot | Java Frameworks Spring - Code Explorer | yomemimo.com
Question : api response plain text spring boot

Answered by : chamrong-thor

 getPlainText(url: string, path: string, params: HttpParams = new HttpParams()): Observable<any>{ return this.http.get(`${url}${path}`, { headers: this.headers, params, responseType: 'text' } ).pipe(catchError(e => throwError(e))); }

Source : https://zetcode.com/springboot/text/ | Last Update : Thu, 01 Sep 22

Answers related to api response plain text spring boot

Code Explorer Popular Question For Java Frameworks Spring