(
endpoint: string,
body?: BodyInit,
useAuthenticityToken = false,
headers: Record<string, string> = {}
)
| 121 | } |
| 122 | |
| 123 | async function put( |
| 124 | endpoint: string, |
| 125 | body?: BodyInit, |
| 126 | useAuthenticityToken = false, |
| 127 | headers: Record<string, string> = {} |
| 128 | ): Promise<Response> { |
| 129 | return sendRequest('PUT', endpoint, body, useAuthenticityToken, headers); |
| 130 | } |
| 131 | |
| 132 | async function post( |
| 133 | endpoint: string, |