You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you add the "http-multipart" feature flag to the tauri dependency in Cargo.toml it should work. If not please provide a code example of what you're trying to do.
Edit: I think you have to set the Content-Type header yourself on request 🤔
If you add the "http-multipart" feature flag to the tauri dependency in Cargo.toml it should work. If not please provide a code example of what you're trying to do.
Edit: I think you have to set the Content-Type header yourself on request 🤔
i add the http-multipart and then how to use ?
for example:
import{http}from'@tauri-apps/api';constformData=newFormData();formData.append('msg','test_message');awaithttp.fetch('some_url',{method: 'POST',headers: {'content-type': 'multipart/form-data',},body: http.Body.form(formData)// how can i do ?})
Describe the problem
i need use FormData in CORS fetch
Describe the solution you'd like
rust can parse my FormData and request again
Alternatives considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: