-
Notifications
You must be signed in to change notification settings - Fork 1
tablackmore/clientRequest
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
Quick and dirty partial port of Mikeal Rogers request node module https://github.com/mikeal/request The aim is to build a browser side, framework independent, partial implementation of his library so that I can create isomorphic http apis. Such as a js couchdb api that will work seemlessly on both node.js and in the browser. You'll need to include json2.js included in the lib directory to support older browsers. I haven't tested IE yet so please don't use in production yet. At present this type of simple request is supported: request({ url : 'http://localhost/someService', method : 'put', body : '{"name":"Tom"}', json : true }, function(error, response, body) { // Your callback code here });
About
A simple partial browser implementation of the node.js npm request module
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published