plongeur.com
03-23-2017, 03:50 PM
I need some help, I would like to add new thread with VB5 API like this :
$time = time();
$api = Api_InterfaceAbstract::instance();
$nodeID = $api->callApi('content_text', 'add', [
'data' => [
'publisheddate' => $time,
'userid' => 89483,
'authorname' => 'test-author',
'description' => 'test-description',
'pagetext' => '',
'rawtext' => 'test-rawtext',
'title' => 'test-title',
'htmltitle' => 'test-htmltitle',
'parentid' => 2062054,
'created' => $time,
'lastcontent' => $time
],
]);
dump($nodeID);
Bug I get this error :
error : humanverify_missing
Somebody knows the solution ?
Thank you,
$time = time();
$api = Api_InterfaceAbstract::instance();
$nodeID = $api->callApi('content_text', 'add', [
'data' => [
'publisheddate' => $time,
'userid' => 89483,
'authorname' => 'test-author',
'description' => 'test-description',
'pagetext' => '',
'rawtext' => 'test-rawtext',
'title' => 'test-title',
'htmltitle' => 'test-htmltitle',
'parentid' => 2062054,
'created' => $time,
'lastcontent' => $time
],
]);
dump($nodeID);
Bug I get this error :
error : humanverify_missing
Somebody knows the solution ?
Thank you,