امتیازها
113
راهحلها
27
- محل سکونت
- England
- نوشتهها
- 26,276
- تاریخ ثبتنام
- ۱۳۹۹٫۰۴٫۰۶
- پسندها
- 3,286
- سن
- 29
- وب سایت
- xenforo.xyz
- نسخه PHP
- 7.3
- نسخه زنفورو
- xenforo 2.2
New to the API requests, but I'm trying to set up a test run for creating a new conversation using cUrl in php and a super user api key.
PHP:
Read more
PHP:
کد:
<?php
// API endpoint URL
$url = 'https://***.com/site/api/conversations';
// API key
$api_key = '****';
// Recipient IDs
$recipient_ids = [663];
// Conversation title
$title = 'API Test';
// Conversation message body
$message = 'Testing the API';
// Data to be sent in the request
$data = [
'recipient_ids' => json_encode($recipient_ids)...
Read more
