mirror of
https://github.com/ariya/phantomjs.git
synced 2024-10-05 16:57:15 +03:00
Fix the outdated post url
This commit is contained in:
parent
fad2f73ef1
commit
01d3397002
@ -2,7 +2,7 @@
|
||||
|
||||
"use strict";
|
||||
var page = require('webpage').create(),
|
||||
server = 'http://posttestserver.com/post.php?dump',
|
||||
server = 'http://ptsv2.com/t/phantomjs-toilet/post',
|
||||
data = 'universe=expanding&answer=42';
|
||||
|
||||
page.open(server, 'post', data, function (status) {
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
"use strict";
|
||||
var page = require('webpage').create(),
|
||||
server = 'http://posttestserver.com/post.php?dump',
|
||||
server = 'http://ptsv2.com/t/phantomjs-toilet/post',
|
||||
data = '{"universe": "expanding", "answer": 42}';
|
||||
|
||||
var headers = {
|
||||
|
Loading…
Reference in New Issue
Block a user