(path: string, options: RequestOptions = {})
| 181 | } |
| 182 | |
| 183 | async get<T>(path: string, options: RequestOptions = {}): Promise<T> { |
| 184 | return this.requestWithMeta<T>('GET', path, options).then(r => r.body); |
| 185 | } |
| 186 | |
| 187 | async post<T>(path: string, options: RequestOptions = {}): Promise<T> { |
| 188 | return this.requestWithMeta<T>('POST', path, options).then(r => r.body); |
no test coverage detected