0I am trying to upload an image to the server but keep getting an error in the chrome console "POST http://localhost:3000/images 500 (Internal Server Error) @ main.js:19".it looks like he server side of my application is not receiving the image.when I try to access the file on the server I get undefined([Error: Input file is missing]). When I post using html without the client-side javascript, the image is posted successfully. However, I want to post the image using the client-side js. Can someone help me know what I am doing wronghttps://i.redd.it/h3phz3m2mz431.png
Submitted June 17, 2019 at 10:46PM by del57748
No comments:
Post a Comment