Skip to content

Instantly share code, notes, and snippets.



Created Feb 11, 2014
What would you like to do?
dat cors test
var request = require('browser-request')
request('http://test.local:6461', function(err, resp, body) {
console.log('root', err, resp, body)
request('http://test.local:6461/_package', function(err, resp, body) {
console.log('package', err, resp, body)
}){url: 'http://test.local:6461', json: {"hello": "world"}}, function(err, resp, body) {
console.log('post', err, resp, body)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.