This challenge is practically begging you to send a HEAD request to the server. HEAD is essentially the same as GET but the server only sends back the HTTP Headers and drops the body (the HTML, image, video, etc).

curl -I 'http://wily-courier.picoctf.net:56339/index.php'

Our flag will appear in the HTTP header.