Example of new page fields via api.
Code: Select all
$fields = array(
'token' => "ahblah",
'authentication' => "blahblah",
'title' => $szz['title'],
'content' => $szz['description'],
'slug' => $szz['slug'],
'coverImage' => $mainimg,
'tags' => $tagsz,
'custom' => array (
'boxart' => $szz['boxart'],
'horizontalHeaderImage' => $szz['horizontalHeaderImage']
)
);
$fields_string = http_build_query($fields);