Guest User

videro

a guest
Aug 29th, 2026
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.92 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <title>Info Akun Videro</title>
  5. </head>
  6. <body>
  7. <h1>Data Akun Videro</h1>
  8. <pre id="data-json" style="background: #f4f4f4; padding: 15px; border-radius: 5px;"></pre>
  9.  
  10. <script>
  11. // URL API dengan key
  12. const apiUrl = 'https://videro.my/api/v1/account/info?key=ccee541b-7a8e-4ab8-9c77-9a9d1f79cc68';
  13.  
  14. // Ambil data dari API
  15. fetch(apiUrl)
  16. .then(response => response.json()) // Ubah response ke JSON
  17. .then(data => {
  18. // Tampilkan JSON yang diformat di elemen <pre>
  19. document.getElementById('data-json').textContent = JSON.stringify(data, null, 2);
  20. })
  21. .catch(error => {
  22. // Tampilkan error jika ada
  23. document.getElementById('data-json').textContent = 'failed load API memuat data: ' + error;
  24. });
  25. </script>
  26. </body>
  27. </html>
Advertisement
Add Comment
Please, Sign In to add comment