<?php
    if ($_SERVER['REQUEST_METHOD'] === 'POST')
    {
        $file = 'https://relics.stsci.edu/private/webtesting/file.txt';

        file_put_contents($file, 'HelloWorld-testing_text');

        exit();
    }
?>
