2.0.0 • Published 12 years ago

oauthrequest v2.0.0

Weekly downloads
2
License
-
Repository
github
Last release
12 years ago

OAuthRequest

Build Status

OAuthRequest is a W3C compatable XMLHttpRequest object for signing OAuth requests. Designed for use with jsOAuth 2.

Getting Started

Install the module with: npm install OAuthRequest

var OAuthRequest = require('OAuthRequest');
var xhr = new OAuthRequest();

xhr.open("GET", "http://www.google.co.uk", true);

xhr.addEventListener("readystatechange", function (event) {
    if (this.readyState === this.DONE && this.status >= 200) {
        doStuff(this.responseText);
    }
});

xhr.send(null);

Documentation

(Coming soon)

Examples

(Coming soon)

Contributing

In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using grunt.

Release History

(Nothing yet)

License

Copyright (c) 2012 Rob Griffiths
Licensed under the MIT license.