Which of the following would allow you to send a POST request to a remote resource via file_get_contents()?
It is possible to make all kinds of requests and set any headers you like by setting the context on a stream. Here, we're setting the method option inside the http element of the context.