Skip to content

Instantly share code, notes, and snippets.

View kritschy's full-sized avatar
🚩

kritschy

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