(url: string, data?: object, options?: RequestOptions)
| 200 | } |
| 201 | |
| 202 | async post(url: string, data?: object, options?: RequestOptions): Promise<JsonValue> { |
| 203 | return this.requestWithErrorToast( |
| 204 | { |
| 205 | method: "POST", |
| 206 | url, |
| 207 | data, |
| 208 | }, |
| 209 | options, |
| 210 | ); |
| 211 | } |
| 212 | |
| 213 | async put(url: string, data?: object, options?: RequestOptions): Promise<JsonValue> { |
| 214 | return this.requestWithErrorToast( |
no test coverage detected