Als-ajax-Node
About
Als-ajax-node is a simple ajax function for making get and post request from node.js
Syntax
ajax(url,fn,data,method = 'GET')
- url - the url for request
- fn - callback function with two parameters: response, status
- data - the data in json format - {name:value,name,value,..}
- method - get or post. get by default