Answer the question
In order to leave comments, you need to log in
Why is there an error when working with the autoposting plugin on Wodpress?
I'm trying to send a test article to the autoposting plugin in Wordpress from ContentMonster
https://contentmonster.ru/setupexport
$token='тут мой токен';
$url='http://мойсайт.ru/wp-content/plugins/contentmonster/xr.php';
$post = [
'key' => $token,
'method' => 'uploadPost',
'title' => '1111',
'content' => '111111111111111',
'category_id' => '0',
'tags' => '11'
];
$ch = curl_init($url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, $post);
$response = curl_exec($ch);
curl_close($ch);
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question