(url: string, params?: object, options?: RequestOptions)
| 189 | } |
| 190 | |
| 191 | async get(url: string, params?: object, options?: RequestOptions): Promise<JsonValue> { |
| 192 | return this.requestWithErrorToast( |
| 193 | { |
| 194 | method: "GET", |
| 195 | url, |
| 196 | params, |
| 197 | }, |
| 198 | options, |
| 199 | ); |
| 200 | } |
| 201 | |
| 202 | async post(url: string, data?: object, options?: RequestOptions): Promise<JsonValue> { |
| 203 | return this.requestWithErrorToast( |
no test coverage detected