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 was 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.
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.mutateAsynci been looking for ways to send using formData instead ofapplication/jsonbut 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