diff --git a/add.php b/add.php
new file mode 100644
index 0000000..e00e3a0
--- /dev/null
+++ b/add.php
@@ -0,0 +1,61 @@
+
+
+
+ Test Link
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/addKatalog.php b/addKatalog.php
index 12026bf..b54324a 100644
--- a/addKatalog.php
+++ b/addKatalog.php
@@ -14,7 +14,7 @@
?>
+$_POST["Title"],
+ "Author"=>$_POST["Author"],
+ "Country"=>$_POST["Country"],
+ "Link"=>$_POST["Link"],
+ "Language"=>$_POST["Language"],
+ "Pages"=>$_POST["Pages"],
+ "Year"=>$_POST["Year"],
+ "LendTime"=>$_POST["LendTime"],
+ "Category"=>$_POST["Category"],
+ "ImageLink"=>$_POST["ImageLink"],
+ "LendType"=>$_POST["LendType"]);
+ $json = json_encode($form);
+ $data = $form;
+
+ // use key 'http' even if you send the request to https://...
+ $options = array(
+ 'http' => array(
+ 'header' => "Content-type: application/json\r\n",
+ 'method' => 'POST',
+ 'content' => http_build_query($data),
+ ),
+ );
+ $context = stream_context_create($options);
+ //echo $context;
+ $result = file_get_contents('http://localhost:5000/api/katalog/');
+ echo $result;
+ }
+
+?>
+
@@ -96,7 +132,7 @@
-