How do I use “Get Contents of URL” in an iOS Home app automation?

I want to use use my Apple TV 4K to make a daily call to a web URL; much like a cronJob if I had a home server. In theory, this should be so simple:
  • Open iOS Home app

  • Go to the Automation tab

  • Create a new automation

  • Choose A Time of Day Occurs

  • Select Next

  • Choose Advanced -> Convert To Shortcut

  • Tap the ➕ icon

  • Choose Web

  • Choose Get Contents of URL from the Web Requests section

  • Enter the URL as https://apple.com

  • Tap the ▶️ icon to test the automation

I see the error message “A server with the specified hostname could not be found.”

Can anyone explain to me how one might use this feature if its not capable of resolving domain names?
Answered by Michrome in 644966022
Found an answer: create the automation in the Shortcuts app (not the Home app) and this will work.
Accepted Answer
Found an answer: create the automation in the Shortcuts app (not the Home app) and this will work.
How do I use “Get Contents of URL” in an iOS Home app automation?
 
 
Q