Skip to content

czesiu/angular-jsv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

angular-jsv

JSV (JSON+CSV) httpParamSerializer for AngularJS

Installing

    npm install angular-jsv

or

    yarn install angular-jsv

or

    bower install angular-jsv

Adding dependency to your project

When you are done downloading all the dependencies and project files the only remaining part is to add dependencies on the JSV AngularJS module:

angular.module('myModule', ['JSV']);

Usage

Pass JsvHttpParamSerializer as paramSerializer in your $http service call.

// Simple GET request example:
$http({
  method: 'GET',
  url: '/someUrl',
  paramSerializer: 'JsvHttpParamSerializer'
}).then(function successCallback(response) {
    // this callback will be called asynchronously
    // when the response is available
  }, function errorCallback(response) {
    // called asynchronously if an error occurs
    // or server returns response with an error status.
  });

About

JSV (JSON+CSV) httpParamSerializer for AngularJS

Resources

Stars

Watchers

Forks

Packages

No packages published