-
-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
missing filename and filetype in formdata (always setting default filename: blob) #25
Comments
looked into the code, was able to fix it submitted a PR #26. by using below code we can pass the formdata // client
const client = edenTreaty<Server>('http://localhost:8080')
const files = e.target.files
const { data, error } = await client.pdf.post({ files: files }) |
yadav-saurabh
changed the title
missing filename in formdata
missing filename in formdata (always setting default finename: blob)
Oct 5, 2023
yadav-saurabh
changed the title
missing filename in formdata (always setting default finename: blob)
missing filename in formdata (always setting default filename: blob)
Oct 5, 2023
it seems like |
yadav-saurabh
changed the title
missing filename in formdata (always setting default filename: blob)
missing filename and filetype in formdata (always setting default filename: blob)
Oct 12, 2023
Yeah, I'm having similar problems as well with the filename omission. It'd be nice to have this fixed. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is there any way to send
formdata
?If I send the form data like in the bellow code, I am getting
file.name
asblob
for every single fileusing
fetch
oraxios
with formdata I am able to get the file.name correctlyThe text was updated successfully, but these errors were encountered: