Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Requirements

  • nodejs
  • npm
  • bower

All other dependencies will installed in node_modules and bower_components directories

Install and start the app

npm start

Create xhr instance

var xhr = new Xhr(opts);

xhr.post('http://url.com', {
    data: 123
}).then(function(response) {
    // ...
}, function(err) {
    // ...
});

Options

  • withCredentials - Adds cookie and auth data to request.
  • contentType - content type header,
  • json - Handle response as JSON.

About

Clients SPA (like Angular PhoneApp) using ES6 (babel), jsDoc, Gulp, browserify, lodash etc.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages