als-ajax-node

1.0.0 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i als-ajax-node

Weekly Downloads

0

Version

1.0.0

License

ISC

Unpacked Size

1.46 kB

Total Files

3

Last publish

Collaborators

  • alexsorkin