Bernd Wurst commited on 2017-02-13 17:53:36
Zeige 1 geänderte Dateien mit 11 Einfügungen und 0 Löschungen.
... | ... |
@@ -21,6 +21,17 @@ require_once('inc/base.php'); |
21 | 21 |
require_once('inc/security.php'); |
22 | 22 |
require_once('inc/error.php'); |
23 | 23 |
|
24 |
+$url = 'https://partner.http.net/api/domain/v1/json/'; |
|
25 |
+$available_methods = array("domainStatus","domainUpdate"); |
|
26 |
+ |
|
27 |
+function httpnet_request($method, $data) { |
|
28 |
+ if (! in_array($method, $avalable_methods)) { |
|
29 |
+ system_failure("invalid API method: $method"); |
|
30 |
+ } |
|
31 |
+ //$data |
|
32 |
+} |
|
33 |
+ |
|
34 |
+ |
|
24 | 35 |
|
25 | 36 |
function terions_available($domainname) |
26 | 37 |
{ |
27 | 38 |