<?php
$url = "https://app.sinbyte.com/api/indexing/";
$curl = curl_init($url);
curl_setopt($curl, CURLOPT_URL, $url);
curl_setopt($curl, CURLOPT_POST, true);
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
$headers = array(
"Authorization: {'Content-Type': 'application/json'}",
"Content-Type: application/json",
);
curl_setopt($curl, CURLOPT_HTTPHEADER, $headers);
$data = '{
"apikey": "kz4iyc7w6rpizfk29bzbd0hmljbutijke053yl88",
"name": "Test GSA 10/09 1",
"dripfeed": 1,
"method": "manual", /*"manual"==> Link profile social; "tools"==> Link website; "money_site"==> Link website have add Email Api Google Search Console;*/
"urls": ["http://search-engine-ranker.gsa-online.de/", "https://sinbyte.com/"]
}';
curl_setopt($curl, CURLOPT_POSTFIELDS, $data);
//for debug only!
curl_setopt($curl, CURLOPT_SSL_VERIFYHOST, false);
curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, false);
$resp = curl_exec($curl);
curl_close($curl);
var_dump($resp);
?>