Update
This commit is contained in:
13
cgi-bin/vorbereitung/api.php
Normal file
13
cgi-bin/vorbereitung/api.php
Normal file
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
|
||||
$n = $_REQUEST['n'];
|
||||
|
||||
header("Content-Type: application/json");
|
||||
|
||||
echo(lenschomode($n));
|
||||
|
||||
function lenschomode($n) {
|
||||
return pow($n,2);
|
||||
}
|
||||
|
||||
?>
|
Reference in New Issue
Block a user