8 lines
211 B
PHP
8 lines
211 B
PHP
|
<?php
|
||
|
// Take a POST HTTP request and save it as a file.
|
||
|
// header("Access-Control-Allow-Origin: *");
|
||
|
$vFile = "json/pathways2018.json";
|
||
|
|
||
|
file_put_contents($vFile, file_get_contents("php://input"));
|
||
|
?>
|