Thursday, 25 May 2017

sending data from Quilljs to Node.js

How do I send data from Quilljs(frontend) to node.js(backend). I try to find all example, but there's nothing that related to backend. I've read information from Quilljs's doc but I still don't really get it, or could you guys explain me the concept.

Below code is what I really think about, but I don't know how to got data from frontend.

Fontend

<form action="p_comment" method="post">
  <div id="editor">
  </div>
  <button type="submit">Post</button>
</form>

Backend

router.post('/p_comment', function(req, res, next) {

});



via Keo

No comments:

Post a Comment