<?php
include 'config.php';

$url = $backend_url;

$data = array("title" => "Scheme3","filename" =>"3.mp3","order" =>3,"description" => "test","active" => true);

$postdata = json_encode($data);

$ch = curl_init($url); 
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, $postdata);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); 
curl_setopt($ch, CURLOPT_HTTPHEADER, array('Content-Type: application/json'));
$result = curl_exec($ch);
print ($result);
curl_close($ch);

?>
