Skip to content
This repository has been archived by the owner on May 30, 2023. It is now read-only.

Commit

Permalink
Fix the outdated post url
Browse files Browse the repository at this point in the history
  • Loading branch information
Rawaa-Al-Kabbani authored and ariya committed Jun 12, 2020
1 parent fad2f73 commit 01d3397
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/post.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion examples/postjson.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down

0 comments on commit 01d3397

Please sign in to comment.