(
path: string,
data: ReqBody,
options: FetchOptions = {},
)
| 75 | } |
| 76 | |
| 77 | async fetch<ReqBody, ResBody>( |
| 78 | path: string, |
| 79 | data: ReqBody, |
| 80 | options: FetchOptions = {}, |
| 81 | ): Promise<ResBody | null> { |
| 82 | const url = `${this.baseUrl}${path}`; |
| 83 | return this.post<ReqBody, ResBody>(url, data, options, 0); |
| 84 | } |
| 85 | } |