Works in ChatGPT browser but not API

Sent this to ChatGPT: extract the content from wwwDOTDOTcom, and it works fine. Sent the same command to the API via this model: gpt-4-1106-preview, and get a response:

I’m sorry, but as an AI developed by OpenAI, I don’t have the capability to directly access or interact with the internet or external websites like wwwDOTDOTcom to extract content. However, you can visit the website in your web browser and take a look at the content yourself, and if you need help with understanding any information regarding travel insurance or travel services that site might offer, feel free to ask, and I’ll help clarify based on the knowledge I’ve been trained on up until my last update in 2023.

Anyone know how to fix that?