First, we verify that the current URL actually contains readable content worth summarizing.
This prevents wasted API calls on empty or non-article pages.

Second, define the endpoint URL to allow us can make a HTTP call, then create JSON payload in the format Gemini expects.

Third, we send an HTTP POST with our payload and headers.
