How to make a POST request from a Chrome Extension with ORIGIN localhost
The Ollama API (a service for using LLM models locally) only accepts POST requests that originate from localhost. As you know. all the code for these extensions runs from chrome-extension://id.