The easiest way to send basic HTTP POST or GET requests using PHP

The easiest way to send basic HTTP POST or GET requests is using PHP’s built in file_get_contents() function in conjunction with HTTP context options:

Further reading:

file_get_contents
HTTP context options

Leave a Reply

Your email address will not be published. Required fields are marked *