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

post.js example is outdated #15354

Open
agrimm opened this issue Mar 14, 2018 · 2 comments
Open

post.js example is outdated #15354

agrimm opened this issue Mar 14, 2018 · 2 comments
Labels

Comments

@agrimm
Copy link

agrimm commented Mar 14, 2018

  1. Which version of PhantomJS are you using? Tip: run phantomjs --version.

2.1.1

  1. What steps will reproduce the problem?

To reproduce:

  1. Run phantomjs on phantomjs/examples/post.js

Expected result: a valid response. Actual response: 404 not found

  1. Which operating system are you using?

OS X

  1. Did you use binary PhantomJS or did you compile it from source?

Installed via homebrew

  1. Please provide any additional information below.

Running it via postman also didn't work. My suspicion is that posttestserver.com itself has changed, and that the previously valid example no longer works.

@Maekchu
Copy link

Maekchu commented Mar 29, 2018

PTS has indeed moved. Check the message at http://posttestserver.com/

Try their new site or use their old server which receives POST requests on http://posttestserver.com/pts.php.

As far as the code in the example. If you change the url, then the rest of the code looks fine and should work.

@stale stale bot added the stale label Dec 25, 2019
@stale stale bot added the stale label Jan 30, 2020
@stale
Copy link

stale bot commented Feb 14, 2020

Due to our very limited maintenance capacity, we need to prioritize our development focus on other tasks. Therefore, this issue will be automatically closed (see #15395 for more details). In the future, if we see the need to attend to this issue again, then it will be reopened. Thank you for your contribution!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants