(
endpoint: string,
data?: any,
options?: RequestOptions
)
| 142 | } |
| 143 | |
| 144 | async post<T>( |
| 145 | endpoint: string, |
| 146 | data?: any, |
| 147 | options?: RequestOptions |
| 148 | ): Promise<T> { |
| 149 | return this.request<T>(endpoint, { |
| 150 | ...options, |
| 151 | method: 'POST', |
| 152 | body: data ? JSON.stringify(data) : undefined, |
| 153 | }); |
| 154 | } |
| 155 | |
| 156 | async put<T>( |
| 157 | endpoint: string, |
no test coverage detected