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) | |
}) | |
request.post({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