http
HTTP/1.1 200 OK
Content-Type: text/html
Permissions-Policy: web-share=(self)
<!DOCTYPE html>
<html>
<head><title>Breaking News</title></head>
<body>
<article>
<h1>Article Title</h1>
<p>Article content...</p>
</article>
<button id="share">Share Article</button>
<script>
document.getElementById('share').addEventListener('click', async () => {
if (navigator.share) {
await navigator.share({
title: 'Article Title',
text: 'Check out this article!',
url: 'https://example.com/article/12345'
});
}
});
</script>
</body>
</html>