This commit is contained in:
2026-01-27 12:52:02 +05:30
parent 397522edcb
commit deeecc6f9c

View File

@@ -1,21 +1,6 @@
<?php <?php
header('Content-Type: application/json; charset=utf-8'); require_once __DIR__ . '/../../hta_config/conf.php';
header('Access-Control-Allow-Origin: *'); applyApiHeaders($API_HEADERS);
header('Access-Control-Allow-Methods: GET, POST, OPTIONS');
header('Access-Control-Allow-Headers: Content-Type, Authorization');
header('X-Powered-By: SiliconPin Tools');
/**
* DNS A Record Lookup API
* Endpoint: /dns-tools-get-a-record
* Method: POST
* Content-Type: application/json
*/
// -------------------------------
// Response headers
// -------------------------------
header('Content-Type: application/json; charset=utf-8');
// ------------------------------- // -------------------------------
// Allow only POST // Allow only POST
// ------------------------------- // -------------------------------