Skip to content

Instantly share code, notes, and snippets.

<?php
$service_url = 'yourdomain.org/api/books';
$curl = curl_init($service_url);
$curl_post_data = array(
'name' => $_POST['title'],
'description' => $_POST['description']
);