Skip to content

A small library to facilitate HTTP requests in JavaScript

License

Notifications You must be signed in to change notification settings

jakedrew/HTTP.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HTTP.js

A small library to facilitate HTTP requests in JavaScript

Functions

http.ready({
  console.log('View is ready');
});

http.post(url, data);

http.parseJSON(json);

http.getJSON(url, data);

http.get(url, function(){
  console.log('Callback goes here');
});