Form Input Type Image Upload

I am trying to get the file upload input on my form to upload onto my gitpod server and then give me a URL that I can then save in MongoDB. Any tips or pointers on how to go about this?

I don’t know if I understand your question correctly but it seems that this is not a Gitpod related question, is it? Couldn’t you just upload and serve your file in your app (depending on your web/application server and your language)? Could you share your approaches you already tried?

Hey Cornelius. Thanks for replying but I actually got sorted.

I wanted to know how to change the file path so that files uploaded to my form would go to a specific folder within my workspace and I could then take the URL and send it into MongoDB but I couldn’t seem to get it so ended up using Cloudinary API.

Thanks anyway.