Hi, I am working on an application in which I need to upload a file using Golang and Angular 4.Suppose I have an input type file and an upload button on the screen. When I browse a file from my system and clicks upload button.Now following are my queries regarding file upload:
1. How will angular process the file at front end? 2. If it processes the file then what it will return to the rest api as data. 3. Which method will be used to process the file like if it is an image then which methods like XHR, HTTP2.0 and Base64encode will be used? 4. Can file be uploaded via angular script and it will give download url to rest api? 5. The uploaded file should not be executable. 6. The file should only be rendered using that download url.Hope I have framed the queries well. If there is anything missing please add to the question. Thanks! -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.