Initial commit: 교육 프로젝트 배포
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
<?php
|
||||
$ch = curl_init('http://localhost/html/admin/bbs/content_save.php');
|
||||
curl_setopt($ch, CURLOPT_POST, 1);
|
||||
curl_setopt($ch, CURLOPT_POSTFIELDS, [
|
||||
'title' => 'Test title',
|
||||
'category_code' => 'CA10001'
|
||||
]);
|
||||
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
|
||||
echo "Response: " . curl_exec($ch);
|
||||
Reference in New Issue
Block a user