RMYHOST
ACTIVE
22 APIs
PUBLIC API

REST API
COLLECTION

Gratis dan tanpa API key. Siap pakai untuk bot WhatsApp-mu.

RECENT ACTIVITY 0

GAMES

17
GET /games/isitilahboomer/

DESCRIPTION

Endpoint untuk isitilahboomer

PARAMETERS

Tidak ada parameter

CONTOH KODE

// JavaScript (Browser)
const url = 'https://www.api.rmyhost.my.id/games/isitilahboomer/';

fetch(url)
    .then(response => response.json())
    .then(data => {
        console.log(data);
    })
    .catch(error => {
        console.error('Error:', error);
    });
// Node.js (with axios)
const axios = require('axios');

const url = 'https://www.api.rmyhost.my.id/games/isitilahboomer/';

axios.get(url)
    .then(response => {
        console.log(response.data);
    })
    .catch(error => {
        console.error('Error:', error.message);
    });
// PHP (with cURL)
$url = 'https://www.api.rmyhost.my.id/games/isitilahboomer/';

$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
curl_close($ch);

$data = json_decode($response, true);
print_r($data);
# cURL
curl -X GET "https://www.api.rmyhost.my.id/games/isitilahboomer/" \
  -H "Accept: application/json"
GET /games/isitilahgenz/

DESCRIPTION

Endpoint untuk isitilahgenz

PARAMETERS

Tidak ada parameter

CONTOH KODE

// JavaScript (Browser)
const url = 'https://www.api.rmyhost.my.id/games/isitilahgenz/';

fetch(url)
    .then(response => response.json())
    .then(data => {
        console.log(data);
    })
    .catch(error => {
        console.error('Error:', error);
    });
// Node.js (with axios)
const axios = require('axios');

const url = 'https://www.api.rmyhost.my.id/games/isitilahgenz/';

axios.get(url)
    .then(response => {
        console.log(response.data);
    })
    .catch(error => {
        console.error('Error:', error.message);
    });
// PHP (with cURL)
$url = 'https://www.api.rmyhost.my.id/games/isitilahgenz/';

$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
curl_close($ch);

$data = json_decode($response, true);
print_r($data);
# cURL
curl -X GET "https://www.api.rmyhost.my.id/games/isitilahgenz/" \
  -H "Accept: application/json"
GET /games/sambungkalimat/

DESCRIPTION

Endpoint untuk sambungkalimat

PARAMETERS

Tidak ada parameter

CONTOH KODE

// JavaScript (Browser)
const url = 'https://www.api.rmyhost.my.id/games/sambungkalimat/';

fetch(url)
    .then(response => response.json())
    .then(data => {
        console.log(data);
    })
    .catch(error => {
        console.error('Error:', error);
    });
// Node.js (with axios)
const axios = require('axios');

const url = 'https://www.api.rmyhost.my.id/games/sambungkalimat/';

axios.get(url)
    .then(response => {
        console.log(response.data);
    })
    .catch(error => {
        console.error('Error:', error.message);
    });
// PHP (with cURL)
$url = 'https://www.api.rmyhost.my.id/games/sambungkalimat/';

$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
curl_close($ch);

$data = json_decode($response, true);
print_r($data);
# cURL
curl -X GET "https://www.api.rmyhost.my.id/games/sambungkalimat/" \
  -H "Accept: application/json"
GET /games/susunkata/

DESCRIPTION

Endpoint untuk susunkata

PARAMETERS

Tidak ada parameter

CONTOH KODE

// JavaScript (Browser)
const url = 'https://www.api.rmyhost.my.id/games/susunkata/';

fetch(url)
    .then(response => response.json())
    .then(data => {
        console.log(data);
    })
    .catch(error => {
        console.error('Error:', error);
    });
// Node.js (with axios)
const axios = require('axios');

const url = 'https://www.api.rmyhost.my.id/games/susunkata/';

axios.get(url)
    .then(response => {
        console.log(response.data);
    })
    .catch(error => {
        console.error('Error:', error.message);
    });
// PHP (with cURL)
$url = 'https://www.api.rmyhost.my.id/games/susunkata/';

$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
curl_close($ch);

$data = json_decode($response, true);
print_r($data);
# cURL
curl -X GET "https://www.api.rmyhost.my.id/games/susunkata/" \
  -H "Accept: application/json"
GET /games/tebakbrand/

DESCRIPTION

Endpoint untuk tebakbrand

PARAMETERS

Tidak ada parameter

CONTOH KODE

// JavaScript (Browser)
const url = 'https://www.api.rmyhost.my.id/games/tebakbrand/';

fetch(url)
    .then(response => response.json())
    .then(data => {
        console.log(data);
    })
    .catch(error => {
        console.error('Error:', error);
    });
// Node.js (with axios)
const axios = require('axios');

const url = 'https://www.api.rmyhost.my.id/games/tebakbrand/';

axios.get(url)
    .then(response => {
        console.log(response.data);
    })
    .catch(error => {
        console.error('Error:', error.message);
    });
// PHP (with cURL)
$url = 'https://www.api.rmyhost.my.id/games/tebakbrand/';

$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
curl_close($ch);

$data = json_decode($response, true);
print_r($data);
# cURL
curl -X GET "https://www.api.rmyhost.my.id/games/tebakbrand/" \
  -H "Accept: application/json"
GET /games/tebakdaerah/

DESCRIPTION

Endpoint untuk tebakdaerah

PARAMETERS

Tidak ada parameter

CONTOH KODE

// JavaScript (Browser)
const url = 'https://www.api.rmyhost.my.id/games/tebakdaerah/';

fetch(url)
    .then(response => response.json())
    .then(data => {
        console.log(data);
    })
    .catch(error => {
        console.error('Error:', error);
    });
// Node.js (with axios)
const axios = require('axios');

const url = 'https://www.api.rmyhost.my.id/games/tebakdaerah/';

axios.get(url)
    .then(response => {
        console.log(response.data);
    })
    .catch(error => {
        console.error('Error:', error.message);
    });
// PHP (with cURL)
$url = 'https://www.api.rmyhost.my.id/games/tebakdaerah/';

$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
curl_close($ch);

$data = json_decode($response, true);
print_r($data);
# cURL
curl -X GET "https://www.api.rmyhost.my.id/games/tebakdaerah/" \
  -H "Accept: application/json"
GET /games/tebakfisika/

DESCRIPTION

Endpoint untuk tebakfisika

PARAMETERS

Tidak ada parameter

CONTOH KODE

// JavaScript (Browser)
const url = 'https://www.api.rmyhost.my.id/games/tebakfisika/';

fetch(url)
    .then(response => response.json())
    .then(data => {
        console.log(data);
    })
    .catch(error => {
        console.error('Error:', error);
    });
// Node.js (with axios)
const axios = require('axios');

const url = 'https://www.api.rmyhost.my.id/games/tebakfisika/';

axios.get(url)
    .then(response => {
        console.log(response.data);
    })
    .catch(error => {
        console.error('Error:', error.message);
    });
// PHP (with cURL)
$url = 'https://www.api.rmyhost.my.id/games/tebakfisika/';

$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
curl_close($ch);

$data = json_decode($response, true);
print_r($data);
# cURL
curl -X GET "https://www.api.rmyhost.my.id/games/tebakfisika/" \
  -H "Accept: application/json"
GET /games/tebakgambar/

DESCRIPTION

Endpoint untuk tebakgambar

PARAMETERS

Tidak ada parameter

CONTOH KODE

// JavaScript (Browser)
const url = 'https://www.api.rmyhost.my.id/games/tebakgambar/';

fetch(url)
    .then(response => response.json())
    .then(data => {
        console.log(data);
    })
    .catch(error => {
        console.error('Error:', error);
    });
// Node.js (with axios)
const axios = require('axios');

const url = 'https://www.api.rmyhost.my.id/games/tebakgambar/';

axios.get(url)
    .then(response => {
        console.log(response.data);
    })
    .catch(error => {
        console.error('Error:', error.message);
    });
// PHP (with cURL)
$url = 'https://www.api.rmyhost.my.id/games/tebakgambar/';

$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
curl_close($ch);

$data = json_decode($response, true);
print_r($data);
# cURL
curl -X GET "https://www.api.rmyhost.my.id/games/tebakgambar/" \
  -H "Accept: application/json"
GET /games/tebakgeografi/

DESCRIPTION

Endpoint untuk tebakgeografi

PARAMETERS

Tidak ada parameter

CONTOH KODE

// JavaScript (Browser)
const url = 'https://www.api.rmyhost.my.id/games/tebakgeografi/';

fetch(url)
    .then(response => response.json())
    .then(data => {
        console.log(data);
    })
    .catch(error => {
        console.error('Error:', error);
    });
// Node.js (with axios)
const axios = require('axios');

const url = 'https://www.api.rmyhost.my.id/games/tebakgeografi/';

axios.get(url)
    .then(response => {
        console.log(response.data);
    })
    .catch(error => {
        console.error('Error:', error.message);
    });
// PHP (with cURL)
$url = 'https://www.api.rmyhost.my.id/games/tebakgeografi/';

$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
curl_close($ch);

$data = json_decode($response, true);
print_r($data);
# cURL
curl -X GET "https://www.api.rmyhost.my.id/games/tebakgeografi/" \
  -H "Accept: application/json"
GET /games/tebakjenaka/

DESCRIPTION

Endpoint untuk tebakjenaka

PARAMETERS

Tidak ada parameter

CONTOH KODE

// JavaScript (Browser)
const url = 'https://www.api.rmyhost.my.id/games/tebakjenaka/';

fetch(url)
    .then(response => response.json())
    .then(data => {
        console.log(data);
    })
    .catch(error => {
        console.error('Error:', error);
    });
// Node.js (with axios)
const axios = require('axios');

const url = 'https://www.api.rmyhost.my.id/games/tebakjenaka/';

axios.get(url)
    .then(response => {
        console.log(response.data);
    })
    .catch(error => {
        console.error('Error:', error.message);
    });
// PHP (with cURL)
$url = 'https://www.api.rmyhost.my.id/games/tebakjenaka/';

$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
curl_close($ch);

$data = json_decode($response, true);
print_r($data);
# cURL
curl -X GET "https://www.api.rmyhost.my.id/games/tebakjenaka/" \
  -H "Accept: application/json"
GET /games/tebakkata/

DESCRIPTION

Endpoint untuk tebakkata

PARAMETERS

Tidak ada parameter

CONTOH KODE

// JavaScript (Browser)
const url = 'https://www.api.rmyhost.my.id/games/tebakkata/';

fetch(url)
    .then(response => response.json())
    .then(data => {
        console.log(data);
    })
    .catch(error => {
        console.error('Error:', error);
    });
// Node.js (with axios)
const axios = require('axios');

const url = 'https://www.api.rmyhost.my.id/games/tebakkata/';

axios.get(url)
    .then(response => {
        console.log(response.data);
    })
    .catch(error => {
        console.error('Error:', error.message);
    });
// PHP (with cURL)
$url = 'https://www.api.rmyhost.my.id/games/tebakkata/';

$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
curl_close($ch);

$data = json_decode($response, true);
print_r($data);
# cURL
curl -X GET "https://www.api.rmyhost.my.id/games/tebakkata/" \
  -H "Accept: application/json"
GET /games/tebakkimia/

DESCRIPTION

Endpoint untuk tebakkimia

PARAMETERS

Tidak ada parameter

CONTOH KODE

// JavaScript (Browser)
const url = 'https://www.api.rmyhost.my.id/games/tebakkimia/';

fetch(url)
    .then(response => response.json())
    .then(data => {
        console.log(data);
    })
    .catch(error => {
        console.error('Error:', error);
    });
// Node.js (with axios)
const axios = require('axios');

const url = 'https://www.api.rmyhost.my.id/games/tebakkimia/';

axios.get(url)
    .then(response => {
        console.log(response.data);
    })
    .catch(error => {
        console.error('Error:', error.message);
    });
// PHP (with cURL)
$url = 'https://www.api.rmyhost.my.id/games/tebakkimia/';

$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
curl_close($ch);

$data = json_decode($response, true);
print_r($data);
# cURL
curl -X GET "https://www.api.rmyhost.my.id/games/tebakkimia/" \
  -H "Accept: application/json"
GET /games/tebaklogika/

DESCRIPTION

Endpoint untuk tebaklogika

PARAMETERS

Tidak ada parameter

CONTOH KODE

// JavaScript (Browser)
const url = 'https://www.api.rmyhost.my.id/games/tebaklogika/';

fetch(url)
    .then(response => response.json())
    .then(data => {
        console.log(data);
    })
    .catch(error => {
        console.error('Error:', error);
    });
// Node.js (with axios)
const axios = require('axios');

const url = 'https://www.api.rmyhost.my.id/games/tebaklogika/';

axios.get(url)
    .then(response => {
        console.log(response.data);
    })
    .catch(error => {
        console.error('Error:', error.message);
    });
// PHP (with cURL)
$url = 'https://www.api.rmyhost.my.id/games/tebaklogika/';

$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
curl_close($ch);

$data = json_decode($response, true);
print_r($data);
# cURL
curl -X GET "https://www.api.rmyhost.my.id/games/tebaklogika/" \
  -H "Accept: application/json"
GET /games/tebaklogo/

DESCRIPTION

Endpoint untuk tebaklogo

PARAMETERS

Tidak ada parameter

CONTOH KODE

// JavaScript (Browser)
const url = 'https://www.api.rmyhost.my.id/games/tebaklogo/';

fetch(url)
    .then(response => response.json())
    .then(data => {
        console.log(data);
    })
    .catch(error => {
        console.error('Error:', error);
    });
// Node.js (with axios)
const axios = require('axios');

const url = 'https://www.api.rmyhost.my.id/games/tebaklogo/';

axios.get(url)
    .then(response => {
        console.log(response.data);
    })
    .catch(error => {
        console.error('Error:', error.message);
    });
// PHP (with cURL)
$url = 'https://www.api.rmyhost.my.id/games/tebaklogo/';

$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
curl_close($ch);

$data = json_decode($response, true);
print_r($data);
# cURL
curl -X GET "https://www.api.rmyhost.my.id/games/tebaklogo/" \
  -H "Accept: application/json"
GET /games/tebakprofesi/

DESCRIPTION

Endpoint untuk tebakprofesi

PARAMETERS

Tidak ada parameter

CONTOH KODE

// JavaScript (Browser)
const url = 'https://www.api.rmyhost.my.id/games/tebakprofesi/';

fetch(url)
    .then(response => response.json())
    .then(data => {
        console.log(data);
    })
    .catch(error => {
        console.error('Error:', error);
    });
// Node.js (with axios)
const axios = require('axios');

const url = 'https://www.api.rmyhost.my.id/games/tebakprofesi/';

axios.get(url)
    .then(response => {
        console.log(response.data);
    })
    .catch(error => {
        console.error('Error:', error.message);
    });
// PHP (with cURL)
$url = 'https://www.api.rmyhost.my.id/games/tebakprofesi/';

$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
curl_close($ch);

$data = json_decode($response, true);
print_r($data);
# cURL
curl -X GET "https://www.api.rmyhost.my.id/games/tebakprofesi/" \
  -H "Accept: application/json"
GET /games/tebaksejarah/

DESCRIPTION

Endpoint untuk tebaksejarah

PARAMETERS

Tidak ada parameter

CONTOH KODE

// JavaScript (Browser)
const url = 'https://www.api.rmyhost.my.id/games/tebaksejarah/';

fetch(url)
    .then(response => response.json())
    .then(data => {
        console.log(data);
    })
    .catch(error => {
        console.error('Error:', error);
    });
// Node.js (with axios)
const axios = require('axios');

const url = 'https://www.api.rmyhost.my.id/games/tebaksejarah/';

axios.get(url)
    .then(response => {
        console.log(response.data);
    })
    .catch(error => {
        console.error('Error:', error.message);
    });
// PHP (with cURL)
$url = 'https://www.api.rmyhost.my.id/games/tebaksejarah/';

$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
curl_close($ch);

$data = json_decode($response, true);
print_r($data);
# cURL
curl -X GET "https://www.api.rmyhost.my.id/games/tebaksejarah/" \
  -H "Accept: application/json"
GET /games/tebakwallet/

DESCRIPTION

Endpoint untuk tebakwallet

PARAMETERS

Tidak ada parameter

CONTOH KODE

// JavaScript (Browser)
const url = 'https://www.api.rmyhost.my.id/games/tebakwallet/';

fetch(url)
    .then(response => response.json())
    .then(data => {
        console.log(data);
    })
    .catch(error => {
        console.error('Error:', error);
    });
// Node.js (with axios)
const axios = require('axios');

const url = 'https://www.api.rmyhost.my.id/games/tebakwallet/';

axios.get(url)
    .then(response => {
        console.log(response.data);
    })
    .catch(error => {
        console.error('Error:', error.message);
    });
// PHP (with cURL)
$url = 'https://www.api.rmyhost.my.id/games/tebakwallet/';

$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
curl_close($ch);

$data = json_decode($response, true);
print_r($data);
# cURL
curl -X GET "https://www.api.rmyhost.my.id/games/tebakwallet/" \
  -H "Accept: application/json"

RANDOM

1
GET /random/darkjoke/

DESCRIPTION

Endpoint untuk darkjoke

PARAMETERS

Tidak ada parameter

CONTOH KODE

// JavaScript (Browser)
const url = 'https://www.api.rmyhost.my.id/random/darkjoke/';

fetch(url)
    .then(response => response.json())
    .then(data => {
        console.log(data);
    })
    .catch(error => {
        console.error('Error:', error);
    });
// Node.js (with axios)
const axios = require('axios');

const url = 'https://www.api.rmyhost.my.id/random/darkjoke/';

axios.get(url)
    .then(response => {
        console.log(response.data);
    })
    .catch(error => {
        console.error('Error:', error.message);
    });
// PHP (with cURL)
$url = 'https://www.api.rmyhost.my.id/random/darkjoke/';

$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
curl_close($ch);

$data = json_decode($response, true);
print_r($data);
# cURL
curl -X GET "https://www.api.rmyhost.my.id/random/darkjoke/" \
  -H "Accept: application/json"

DOWNLOADER

1
GET /downloader/all-in-one/

DESCRIPTION

Endpoint untuk all in one

PARAMETERS

CONTOH KODE

// JavaScript (Browser)
const url = 'https://www.api.rmyhost.my.id/downloader/all-in-one/';
const params = new URLSearchParams({
        'url': 'https://www.tiktok.com/@user/video/123456789',
    });
url += '?' + params.toString();

fetch(url)
    .then(response => response.json())
    .then(data => {
        console.log(data);
    })
    .catch(error => {
        console.error('Error:', error);
    });
// Node.js (with axios)
const axios = require('axios');

const url = 'https://www.api.rmyhost.my.id/downloader/all-in-one/';
const params = {
        'url': 'https://www.tiktok.com/@user/video/123456789',
    };

axios.get(url, { params })
    .then(response => {
        console.log(response.data);
    })
    .catch(error => {
        console.error('Error:', error.message);
    });
// PHP (with cURL)
$url = 'https://www.api.rmyhost.my.id/downloader/all-in-one/';
$params = [
        'url' => 'https://www.tiktok.com/@user/video/123456789',
    ];
$url .= '?' . http_build_query($params);

$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
curl_close($ch);

$data = json_decode($response, true);
print_r($data);
# cURL
curl -X GET "https://www.api.rmyhost.my.id/downloader/all-in-one/?url=https://www.tiktok.com/@user/video/123456789" \
  -H "Accept: application/json"

TOOLS

3
GET /tools/dnschecker/

DESCRIPTION

Endpoint untuk dnschecker

PARAMETERS

CONTOH KODE

// JavaScript (Browser)
const url = 'https://www.api.rmyhost.my.id/tools/dnschecker/';
const params = new URLSearchParams({
        'domain': 'contoh: google.com atau rmyhost.my.id',
    });
url += '?' + params.toString();

fetch(url)
    .then(response => response.json())
    .then(data => {
        console.log(data);
    })
    .catch(error => {
        console.error('Error:', error);
    });
// Node.js (with axios)
const axios = require('axios');

const url = 'https://www.api.rmyhost.my.id/tools/dnschecker/';
const params = {
        'domain': 'contoh: google.com atau rmyhost.my.id',
    };

axios.get(url, { params })
    .then(response => {
        console.log(response.data);
    })
    .catch(error => {
        console.error('Error:', error.message);
    });
// PHP (with cURL)
$url = 'https://www.api.rmyhost.my.id/tools/dnschecker/';
$params = [
        'domain' => 'contoh: google.com atau rmyhost.my.id',
    ];
$url .= '?' . http_build_query($params);

$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
curl_close($ch);

$data = json_decode($response, true);
print_r($data);
# cURL
curl -X GET "https://www.api.rmyhost.my.id/tools/dnschecker/?domain=contoh: google.com atau rmyhost.my.id" \
  -H "Accept: application/json"
GET /tools/qrgenerator/

DESCRIPTION

Endpoint untuk qrgenerator

PARAMETERS

CONTOH KODE

// JavaScript (Browser)
const url = 'https://www.api.rmyhost.my.id/tools/qrgenerator/';
const params = new URLSearchParams({
        'text': 'Masukkan teks atau URL untuk dijadikan QR...',
    });
url += '?' + params.toString();

fetch(url)
    .then(response => response.json())
    .then(data => {
        console.log(data);
    })
    .catch(error => {
        console.error('Error:', error);
    });
// Node.js (with axios)
const axios = require('axios');

const url = 'https://www.api.rmyhost.my.id/tools/qrgenerator/';
const params = {
        'text': 'Masukkan teks atau URL untuk dijadikan QR...',
    };

axios.get(url, { params })
    .then(response => {
        console.log(response.data);
    })
    .catch(error => {
        console.error('Error:', error.message);
    });
// PHP (with cURL)
$url = 'https://www.api.rmyhost.my.id/tools/qrgenerator/';
$params = [
        'text' => 'Masukkan teks atau URL untuk dijadikan QR...',
    ];
$url .= '?' . http_build_query($params);

$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
curl_close($ch);

$data = json_decode($response, true);
print_r($data);
# cURL
curl -X GET "https://www.api.rmyhost.my.id/tools/qrgenerator/?text=Masukkan teks atau URL untuk dijadikan QR..." \
  -H "Accept: application/json"
GET /tools/whoischecker/

DESCRIPTION

Endpoint untuk whoischecker

PARAMETERS

CONTOH KODE

// JavaScript (Browser)
const url = 'https://www.api.rmyhost.my.id/tools/whoischecker/';
const params = new URLSearchParams({
        'query': 'Masukkan IP atau nama domain...',
    });
url += '?' + params.toString();

fetch(url)
    .then(response => response.json())
    .then(data => {
        console.log(data);
    })
    .catch(error => {
        console.error('Error:', error);
    });
// Node.js (with axios)
const axios = require('axios');

const url = 'https://www.api.rmyhost.my.id/tools/whoischecker/';
const params = {
        'query': 'Masukkan IP atau nama domain...',
    };

axios.get(url, { params })
    .then(response => {
        console.log(response.data);
    })
    .catch(error => {
        console.error('Error:', error.message);
    });
// PHP (with cURL)
$url = 'https://www.api.rmyhost.my.id/tools/whoischecker/';
$params = [
        'query' => 'Masukkan IP atau nama domain...',
    ];
$url .= '?' . http_build_query($params);

$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
curl_close($ch);

$data = json_decode($response, true);
print_r($data);
# cURL
curl -X GET "https://www.api.rmyhost.my.id/tools/whoischecker/?query=Masukkan IP atau nama domain..." \
  -H "Accept: application/json"
Copied!