1.0.0 • Published 7 years ago

ajaxsim v1.0.0

Weekly downloads
4
License
MIT
Repository
github
Last release
7 years ago

Ajax request module

Installation

~$ npm i ajaxsim
or
~$ npm i https://github.com/kolserdav/ajax

Using

Javascript:

const ajax = require('ajaxsim');

ajax(url, //[require] custom url
 request = "test=ajaxSim works", //[optional] default : "test=ajaxS works" ...
  responseBack = function(r){console.log(r);},
   method = 'POST')

Server. For example PHP:

echo $_REQUEST['test'];

It works...

1.0.0

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago