Revize e4a04714
Přidáno uživatelem Václav Jirák před téměř 6 roky(ů)
frontend/src/app/app.component.ts | ||
---|---|---|
19 | 19 |
this.httpClient.get(environment.apiUrl + 'test', { responseType: 'text' }) |
20 | 20 |
.subscribe(data => this.getTestResponse = data); |
21 | 21 |
|
22 |
this.httpClient.get(environment.apiUrl + 'test', { responseType: 'text' })
|
|
22 |
this.httpClient.post(environment.apiUrl + 'test', {}, { responseType: 'text' })
|
|
23 | 23 |
.subscribe(data => this.postTestResponse = data); |
24 | 24 |
|
25 | 25 |
this.httpClient.get(environment.apiUrl + 'hello', { responseType: 'text' }) |
Také k dispozici: Unified diff
Re #7264 HTTP Post test fixed