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
{{ message }}
This repository has been archived by the owner on Mar 23, 2024. It is now read-only.
<formclass="grid sm:grid-cols-2 gap-5"onSubmit={async(e)=>{e.preventDefault()constfd=newFormData()fd.append('cert',file())// this is FileawaitcreateNew.mutateAsync(fd)// <--- does not accept formData}}>
createNew.mutateAsync i been looking for ways to send using formData instead of application/json but could not find any solution. Hence, would like to ask your opinion is there a way to work with formData.
it's been delightful using your work. Thank you
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi, would like to ask your opinion on how to upload a file using prpc.
here is snippet of mutation$
and in my client side
createNew.mutateAsync
i been looking for ways to send using formData instead ofapplication/json
but could not find any solution. Hence, would like to ask your opinion is there a way to work with formData.it's been delightful using your work. Thank you
The text was updated successfully, but these errors were encountered: