200 OK, standart bir başarılı HTTP sunucu yanıtıdır. Bu, istemcinin isteğinin (örneğin, bir tarayıcıdan) başarıyla işlendiği ve sunucunun istenen verileri ilettiği anlamına gelir.
Kullanıcı içeriği hatasız alır ve sayfa veya uygulama düzgün çalışır. Kod 200'e veri eşlik ediyorsa, tarayıcı veya program bunu işler ve kullanıcıya görüntüler.
GET / HTTP/1.1 Host: 24x.com Accept: */* User-Agent: Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>24X Limited - Text messages for business since 2000</title> <!-- Bootstrap CSS --> <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet"> <!-- Custom CSS --> <link href="sms-css/styles.css" rel="stylesheet"> <style> /* Additional styles for the cookie consent modal */ .cookie-modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.7); display: flex; justify-content: center; align-items: center; z-index: 9999; } .cookie-content { background: #fff; padding: 20px; border-radius: 10px; text-align: center; } .cookie-buttons { margin-top: 15px; } .cookie-buttons button { margin: 5px; } </style> </head> <body> <!-- Cookie Consent Modal --> <div id="cookie-modal" class="cookie-modal" style="display: none;"> <div class="cookie-content"> <h4>Cookie Consent</h4> <p>We respect your privacy. This site only uses essential cookies that are required for it to function correctly</p> <p> (e.g., session management and security).</p> <p> We do NOT use any tracking, analytics, or advertising cookies, so there’s nothing additional to manage. </p> <div class="cookie-buttons"> <button id="accept-cookies" class="btn btn-success">Yes, I am happy with essential cookies only</button> <button id="decline-cookies" class="btn btn-danger">No</button> </div> </div> </div> <!-- Include Navigation Menu --> <div id="navbar-placeholder"></div> <!-- Content Section --> <div class="container mt-4"> <!-- New Row with "Hello World" Box --> <div class="row mb-4"> <div class="col-12"> <div class="hello-world-box"> 25 years of business SMS </div> </div> </div> <!-- Existing Rows --> <div class="row"> <div class="col-12 col-md-4 column-content"> <h1>Who are we</h1> <img class="img-responsive" src="sms-smallkevin.jpg" alt="Kevin"> <div id="whoarewe-placeholder"></div> </div> <div class="col-12 col-md-4 column-content"> <h1>How do I start</h1> <div id="howtostart-placeholder"></div> </div> <div class="col-12 col-md-4 column-content"> <h1>Tips and advice</h1> <div id="tips-placeholder"></div> </div> </div> </div> <!-- Bootstrap JS and dependencies --> <script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.10.2/dist/umd/popper.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js"></script> <script src="https://code.jquery.com/jquery-3.6.0.min.js"></script> <script> $(function () { // Load the external HTML content into placeholders $("#navbar-placeholder").load("sms-content-navbar.html"); $("#whoarewe-placeholder").load("sms-content-whoarewe.html"); $("#howtostart-placeholder").load("sms-content-howtostart.html"); $("#tips-placeholder").load("sms-content-tips.html"); // Function to hide the button row on mobile menu toggle function toggleButtonRow() { if ($(window).width() <= 767) { $('.button-row').hide(); } else { $('.button-row').show(); } } // Initial check for button row visibility toggleButtonRow(); // Bind to window resize event $(window).resize(function () { toggleButtonRow(); }); // Listen for navbar toggle $(document).on('click', '.navbar-toggler', function () { toggleButtonRow(); }); // Cookie Consent Logic const cookieModal = document.getElementById('cookie-modal'); const acceptButton = document.getElementById('accept-cookies'); const declineButton = document.getElementById('decline-cookies'); // Show the cookie modal if no consent is found if (!localStorage.getItem('cookieConsent')) { cookieModal.style.display = 'flex'; } // Handle "Accept Cookies" button acceptButton.addEventListener('click', function () { // Store consent in local storage and hide the modal localStorage.setItem('cookieConsent', 'accepted'); cookieModal.style.display = 'none'; console.log('Cookies accepted'); }); // Handle "Decline Cookies" button declineButton.addEventListener('click', function () { // Show a goodbye message and close the site document.body.innerHTML = '<h2 style="text-align: center; margin-top: 20%;">Goodbye! You have declined cookies.</h2>'; setTimeout(function () { window.close(); // Attempt to close the tab }, 2000); }); }); </script> </body> </html>