V
V
vld_ya2014-04-19 20:08:32
Node.js
vld_ya, 2014-04-19 20:08:32

How to handle post request with Node.js?

I send a request to the Node server using the code

$.ajax({
        url:"/masbook"
        , type:"POST"
        , data:"bibliash22=" + JSON.stringify(studentsbooks)
        , success: function(res) {
            alert(res);
        }
});
.And you need to write code to process the POST request.
Thank you very much in advance!

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question