Hi all,
I am building a very simple web page using stick.
I have main.js file where my server is setup. In main.js I am configuring Stick as mentioned below.
var {Application} = require('stick');
app.configure("gzip", "route", "static", "notfound", "params");
Here I have configured params middleware of Stick to process post request parameters.
I have created a simple html page which has two text box and one submit button.
main.js post method is as below.
app.post('/:path', function(request, path) {
console.dir(request);
});
Now the problem is that I am not able to see postParams in my console.
Am I missing something here?
Thanks,
Prateek