1
1
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:
Rawaa Al Kabbani 2020-06-09 17:57:59 +02:00 committed by Ariya Hidayat
parent fad2f73ef1
commit 01d3397002
2 changed files with 2 additions and 2 deletions

View File

@ -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) {

View File

@ -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 = {