Uploading Multiple Files with Fetch

Поделиться
HTML-код
  • Опубликовано: 2 янв 2025

Комментарии • 25

  • @andreyairesvoiicr
    @andreyairesvoiicr Год назад +1

    That deep voiceover

  • @techfth710
    @techfth710 2 года назад +5

    Listening to you is like listening to BOB ROSS

  • @HarshKapadia
    @HarshKapadia 2 года назад +2

    Nice one! Thank you Steve! One thing to remember is that the Developer should not set the Content Type header themselves. The browser will set it automatically and add the boundary to the header value as well. If the Developer sets the header themselves, the boundary value in the header is not set and the request fails.

    • @SteveGriffith-Prof3ssorSt3v3
      @SteveGriffith-Prof3ssorSt3v3  2 года назад +1

      Yes. The developer should not set the boundary value but content-type for uploading a blob as a json file or jpeg is fine.

    • @HarshKapadia
      @HarshKapadia 2 года назад +1

      @@SteveGriffith-Prof3ssorSt3v3 oh yes. The Developer should not set the 'Content-Type' header if the MIME type is 'multipart/form-data'.

  • @npc73x
    @npc73x 2 года назад +1

    The Impact you made many of our Lives, truly remarkable, Thanks

  • @cferdinandi
    @cferdinandi 2 года назад

    Glad you're back, friend! Missed your videos!

  • @judeleon8485
    @judeleon8485 2 года назад

    Thanks Steve. This is awesome! I look forward to the video on progress bar with fetch api as you mentioned in your previous video?

  • @farouktouil5036
    @farouktouil5036 2 года назад

    Oh yes professor progress bar for each file ,thank you again, awesome tutorial.

  • @anwayarath6453
    @anwayarath6453 2 года назад

    Thank you so much for these videos. These are really helpful and made an impact.

  • @RaGa_BABA
    @RaGa_BABA Год назад

    great...as always..thnks for the lecture🙂

  • @nro337
    @nro337 2 года назад +1

    Thanks! Super cool

  • @pain.
    @pain. Год назад

    Useful video. I'd like to know how correct validate user's files.

  • @meridiancityit
    @meridiancityit Месяц назад

    Great content Professor! Thank you for sharing your knowledge. I have implemented what you show on this video and I can see my objects on the console. I now need to pass them on to my controller so my url is - let url = 'Controller/Action'. How do I grab those on my Controller? Can you point me in the right direction? Thanks again. :)

  • @dodokwak
    @dodokwak 2 года назад

    Thanks a lot.

  • @dgcp354
    @dgcp354 2 года назад

    can you please do the backend too, how to handle multiple files in node backend

    • @SteveGriffith-Prof3ssorSt3v3
      @SteveGriffith-Prof3ssorSt3v3  2 года назад +1

      You can post any tutorial requests here - ruclips.net/video/LCezax2uN3c/видео.html - in the comments.

  • @維倫劉
    @維倫劉 2 года назад

    Thanks!

  • @nikhilreddydev
    @nikhilreddydev 2 года назад

    How to send a blob over to server and handle that at server?

    • @SteveGriffith-Prof3ssorSt3v3
      @SteveGriffith-Prof3ssorSt3v3  2 года назад +1

      Sending it is the same as what is shown in the video. Handling it depends on what platform, what language, and what you want to do with it.

    • @nikhilreddydev
      @nikhilreddydev 2 года назад +1

      @@SteveGriffith-Prof3ssorSt3v3 Thank you for your reply sir.
      Server side - nodejs with express & multer.
      I have been trying from last two days with this issue. Finally I am able to get the blob data on to server using multer.
      Now i have the exact blob on server side.
      But how do I convert that to a video and save it?
      I tried creating an array buffer and writing to a file. That didn't help... : ')

    • @SteveGriffith-Prof3ssorSt3v3
      @SteveGriffith-Prof3ssorSt3v3  2 года назад +1

      @@nikhilreddydev Files are just Blobs with additional properties like file type, file size, file name, etc.
      ruclips.net/video/ScZZoHj7mqY/видео.html
      ruclips.net/video/zq2xD-xuIG4/видео.html