Convenience GET helper.
(path: string, options?: RequestOptions)
| 173 | |
| 174 | /** Convenience GET helper. */ |
| 175 | get<T>(path: string, options?: RequestOptions): Promise<T> { |
| 176 | return this.request<T>(path, { ...options, method: 'GET' }); |
| 177 | } |
| 178 | |
| 179 | /** Convenience POST helper. */ |
| 180 | post<T>(path: string, body: unknown, options?: RequestOptions): Promise<T> { |
no test coverage detected