@
@
@Richswitch2017-10-03 21:13:37
JavaScript
@Richswitch, 2017-10-03 21:13:37

How to upload an image to the server using JavaScript?

Hey!
I'm a little confused here ...
There is a task "upload an image to the server using JavaScript using some WYSIWYG editor" (I take the quill editor ).
If I still understand something in the frontend, then in the backend I am almost 0 (0.1%). Therefore, after Google, such thoughts visit my head:
Is it possible to send a picture to the local Apache server using Nodejs ?. Probably not, or... Then I need to install Ngnix instead of Apache? Or am I not thinking about it at all? Sending information to the server and to the database is the same thing?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
Maxim Kuznetsov, 2017-10-03
@max-kuznetsov

https://mi-kuznetsov.livejournal.com/114764.html
Image upload example.

A
Alexander, 2017-10-03
@boratsagdiev

Example
https://gist.github.com/bingeboy/5589501

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question