Skip to content
This repository has been archived by the owner on Nov 11, 2019. It is now read-only.
/ CareJS Public archive

Simple and straigtforward javascript framework for sending AJAX-requests. Keeping this for historical reasons.

Notifications You must be signed in to change notification settings

carestad/CareJS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

CareJS

The straightforward AJAX javascript framework


GET request

care.xGet({
    url: 'http://example.com/somefile',
    vars: {
        arg1: 'foo',
        arg2: 'bar
    },
    handleAs: 'json',
    handler: foo,
    headers: {
        accept: 'application/xml'
    }
});

JSONP request

care.jsonp({
    url: 'http://example.com/somefile.php',
    vars: {
        arg1: 'foo',
        arg2: 'bar'
    },
    jsonp: 'callback',
    handler: foo,
    headers: {
        accept: 'application/xml'
    }
});

About

Simple and straigtforward javascript framework for sending AJAX-requests. Keeping this for historical reasons.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published