mirror of
https://github.com/avwo/whistle.git
synced 2026-10-26 12:02:30 +08:00
65 lines
1.4 KiB
JavaScript
65 lines
1.4 KiB
JavaScript
var util = require('../util.test');
|
|
|
|
module.exports = function () {
|
|
util.request({
|
|
url: 'http://local.whistlejs.com/cgi-bin/composer',
|
|
method: 'post',
|
|
json: {
|
|
url: 'http://127.0.0.1:8080',
|
|
headers: 'test: 123',
|
|
method: 'POST',
|
|
body: 'test'
|
|
}
|
|
});
|
|
util.request({
|
|
url: 'http://local.whistlejs.com/cgi-bin/composer',
|
|
method: 'post',
|
|
json: {
|
|
url: 'http://127.0.0.1:8080',
|
|
headers: 'test: 123',
|
|
method: 'POST',
|
|
body: 'test'
|
|
}
|
|
});
|
|
util.request({
|
|
url: 'http://local.whistlejs.com/cgi-bin/composer',
|
|
method: 'post',
|
|
json: {
|
|
url: 'http://127.0.0.1:8080',
|
|
headers: 'test: 123',
|
|
method: 'POST',
|
|
body: 'test'
|
|
}
|
|
});
|
|
util.request({
|
|
url: 'http://local.whistlejs.com/cgi-bin/composer',
|
|
method: 'post',
|
|
json: {
|
|
url: 'http://127.0.0.1:8080',
|
|
headers: 'test: 123',
|
|
method: 'POST',
|
|
body: 'test'
|
|
}
|
|
});
|
|
util.request({
|
|
url: 'http://local.whistlejs.com/cgi-bin/composer',
|
|
method: 'post',
|
|
json: {
|
|
url: 'http://127.0.0.1:8080',
|
|
headers: 'test: 123',
|
|
method: 'POST',
|
|
body: 'test'
|
|
}
|
|
});
|
|
util.request({
|
|
url: 'http://local.whistlejs.com/cgi-bin/composer',
|
|
method: 'post',
|
|
json: {
|
|
url: 'http://127.0.0.1:8080',
|
|
headers: 'test: 123',
|
|
method: 'POST',
|
|
body: 'test'
|
|
}
|
|
});
|
|
};
|