I am completely new PHP and want a client program to call an URL web service.I am using file_get_content to get the data.How do add additional headers to the request made using
As for cURL, the basic example from the PHP manual shows you how to perform a GET request: