Metadata

Alamat Akses:
http://simantra.ntbprov.go.id/mantra/api|json|xml/itec/e_retribusi/check_post_sts_rinc
Instansi Penyedia:
itec (Information Teknologi Education Center (ITEC))
Direktori Operasi:
e_retribusi
Fungsi Operasi:
check_post_sts_rinc
Parameter Kondisi:
-
Parameter Masukan:
  • no_sts
Elemen Data Keluaran:
-
Keterangan:
-
Contoh Akses Koneksi API:

Metode Akses GET:

$url="http://simantra.ntbprov.go.id/mantra/json/itec/e_retribusi/check_post_sts_rinc";

$pardata=array(
"no_sts"=>urlencode("...")
);
$par="/".http_build_query($pardata);

$options=array('http'=>array(
	'method'=>"GET",
	'header'=>implode("\r\n",array("Content-Type:text/plain;charset=UTF-8"))
));
$context=stream_context_create($options);
$content=file_get_contents($url.$par,false,$context);
echo $content;


Metode Akses POST:

$url="http://simantra.ntbprov.go.id/mantra/json/itec/e_retribusi/check_post_sts_rinc";

$pardata=array(
"no_sts"=>urlencode("...")
);
$par=http_build_query($pardata);

$options=array('http'=>array(
	'method'=>"POST",
	'header'=>implode("\r\n",array("Content-Type:application/x-www-form-urlencoded;charset=UTF-8")),
	'content'=>$par));
$context=stream_context_create($options);
$content=file_get_contents($url,false,$context);
echo $content;