alex35mil
CDCloudflare Developers
•Created by alex35mil on 11/30/2023 in #🦀rust-on-workers
How to send `FormData` via `Fetch`? I
@natsumesou you can call
.into()
on a string to turn it into JsValue
since the latter implements From<String>
6 replies
CDCloudflare Developers
•Created by alex35mil on 11/30/2023 in #🦀rust-on-workers
How to send `FormData` via `Fetch`? I
Apparently, there's no way to use exposed
FormData
for a request body, so I just build a string manually (I don't send any files yet, so it supports only text fields):
6 replies