diff --git a/examples/put.php b/examples/put.php new file mode 100644 index 0000000..f06e14c --- /dev/null +++ b/examples/put.php @@ -0,0 +1,14 @@ +put('http://httpbin.org/put', array( + 'id' => 1, + 'first_name' => 'Zach', + 'last_name' => 'Borboa', +)); + +echo 'Data server received via PUT:' . "\n"; +var_dump($curl->response->form);