Initial commit untuk UAS SIG

This commit is contained in:
z0rayy
2026-06-08 21:16:23 +07:00
commit c90ce9aedc
39 changed files with 7105 additions and 0 deletions
+8
View File
@@ -0,0 +1,8 @@
<?php
$ch = curl_init('http://localhost/webgis-sig/backend/create_jalan.php');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, '{"nama_jalan":"Test Error","status":"Nasional","panjang":"123.45","geom":{"type":"LineString","coordinates":[[1,1],[2,2]]}}');
$res = curl_exec($ch);
var_dump($res);
if ($res === false) { echo curl_error($ch); }