XenForo
Administrative
- Thread starter
- Admin
- #1
Hello,
I'm have troubles creating a thread with Xenforo API via CURL in PHP.
Here's my code :
Code:
Read more
ادامه مطلب...
I'm have troubles creating a thread with Xenforo API via CURL in PHP.
Here's my code :
Code:
Code:
$sUrl = 'https://mydomain.com/api/threads/';
$aData = [
'node_id' => 13,
'title' => 'test title',
'message' => 'test message'];
$headers = ['Content-type: application/json',
'XF-Api-Key: ' . self::$_sApiKey,
'XF-Api-User: 1',
'Content-Length: ' . strlen(json_encode($aData))];
$ch =...
Read more
ادامه مطلب...