
curl xxx -F "[email protected]" const formData = await request.formData() const body = formData.get('file') console.log(body) // const reader = request.body.getReader() // const body = request.body const token = await getAccessToken() const respOnse= await fetch(url, { method: 'PUT', headers: { Authorization: `Bearer ${token}`, ...request.headers }, body: body }) 