Im using IDE Cloud9 and Angular, I can't figure out how do I upload pictures on my c9, like, I have input, so when user uploads the image, it goes on c9 server and keeps in some 'uploads' folder
Asked
Active
Viewed 132 times
1 Answers
0
Omni, you can use multer npm for uploading file with angular js and node api. Please refer below link for more details,

chetan mekha
- 665
- 6
- 18
-
Yeah, that's worked for me on my desktop, but how do I use this at c9? Should I make another project for launching the node server? – omni Jul 04 '17 at 07:07
-
host ur application on c9 server and test it. – chetan mekha Jul 04 '17 at 07:17
-
alright, I hosted my node there, and my angular2 project, but it tells me that (Response for preflight is invalid (redirect)) – omni Jul 04 '17 at 09:20
-
check this https://stackoverflow.com/questions/32683603/cors-http-options-error-with-angular-and-express – chetan mekha Jul 04 '17 at 09:26
-
you should learn about resolving error, here other members can guide/help you to resolved problem but no one will sit here and resolved your problem with implementing all solutions. – chetan mekha Jul 04 '17 at 09:30