-
Notifications
You must be signed in to change notification settings - Fork 120
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
Can't upload file to server #38
Comments
Try with this.form.submit not this.form.post |
i can't do it work with put or patch, when i send the request arrives empty to my backend |
Same issue here. Using |
See my comment #54 (comment) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello
I'm having trouble uploading form file to server. I follow this example. I do not know what's wrong with my code. Please help.
This is my code for post to server (When clicked Submit button)
Before upload to server I monitor the form object using console.log() the avatar field contain file data.
Then upload the file to the server, each field works correctly except for the avatar field (it is empty).
I don't understand where the data is missing
Thank you.
The text was updated successfully, but these errors were encountered: