(options: Omit<RequestOptions, 'method'>)
| 161 | } |
| 162 | |
| 163 | async post<T>(options: Omit<RequestOptions, 'method'>): Promise<T> { |
| 164 | // logger('Request.post.options'); |
| 165 | // logger(options, {depth: null, colors: true}); |
| 166 | |
| 167 | return this.send<T>({...options, method: 'POST'}); |
| 168 | } |
| 169 | |
| 170 | async get<T>(options: Omit<RequestOptions, 'method' | 'body'>): Promise<T> { |
| 171 | return this.send<T>({...options, method: 'GET'}); |
no test coverage detected