Uploading Files to the Web in JavaScript| Learn Web Dev with Austin Gil

แชร์
ฝัง
  • เผยแพร่เมื่อ 9 ก.พ. 2025

ความคิดเห็น • 6

  • @justin8mux
    @justin8mux ปีที่แล้ว +1

    1st comment. Nice video, thnx dude! :)

    • @heyAustinGil
      @heyAustinGil ปีที่แล้ว

      Sick! Thank you so much for taking the time. I'm glad you liked it.

  • @rodmaher2788
    @rodmaher2788 10 หลายเดือนก่อน +2

    Where is the data uploaded to on the server? Why do you not have to set a target directory for the uploaded file?

  • @goodluckoriuwa1669
    @goodluckoriuwa1669 10 หลายเดือนก่อน +2

    But wait ..!!! If you look at the fetch function you see that the form.action is really not defined in neither the html form istself or in a variable.... It would return a 404 bug.. also a undefined error

  • @yanisktab8749
    @yanisktab8749 11 หลายเดือนก่อน

    With the same code as the end of the video, i have an 404 error with fetch, if anybody maybe knows why ?

    • @jeyakumarr874
      @jeyakumarr874 หลายเดือนก่อน

      Backend server(local server) should have the post method. That method process it & sending response. If the server doesn't have that method, its sending 404 Not Found.