1.0.0 • Published 3 years ago

als-ajax-node v1.0.0

Weekly downloads
2
License
ISC
Repository
-
Last release
3 years ago

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
1.0.0

3 years ago