From 01d33970026fbcdc1610c9eba0989a28733663af Mon Sep 17 00:00:00 2001 From: Rawaa Al Kabbani Date: Tue, 9 Jun 2020 17:57:59 +0200 Subject: [PATCH] Fix the outdated post url --- examples/post.js | 2 +- examples/postjson.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/post.js b/examples/post.js index 4b998b82a9..9549d89839 100644 --- a/examples/post.js +++ b/examples/post.js @@ -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) { diff --git a/examples/postjson.js b/examples/postjson.js index b02f430378..b8f59584b5 100644 --- a/examples/postjson.js +++ b/examples/postjson.js @@ -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 = {