Php

Asked • 05/28/19

How do I send a POST request with PHP?

Actually I want to read the contents that come after the search query, when it is done. The problem is that the URL only accepts `POST` methods, and it does not take any action with `GET` method... I have to read all contents with the help of `domdocument` or `file_get_contents()`. Is there any method that will let me send parameters with `POST` method and then read the contents via `PHP`?

1 Expert Answer

By:

Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.

OR

Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.