Workers AI CORS Error : 405 Method Not Allowed for Options

I am getting This Specific Error when using Axios and Fetch to post a Simple Prompt to My Model.

image

How Can I Fix this?

My Code:

async function fetchPrompt () {
        if (prompt === null){
            toast({
                title: 'Error',
                description: 'Please enter a prompt',
                variant: 'destructive',
                duration: 5000,
            })
            return
        }
        const options = {
            method: 'POST',
            url: 'https://api.cloudflare.com/client/v4/accounts/[My Acc ID]/ai/run/@cf/mistral/mistral-7b-instruct-v0.2-lora',
            headers: {
                'Content-Type': 'application/json', 
                Authorization: `Bearer [My Token]`,
                'Access-Control-Allow-Origin': 'http://localhost:3000/', 
                'Access-Control-Allow-Methods': 'POST', 
                'Access-Control-Allow-Headers': 'Content-Type, Authorization'
            },
            data: `{"max_tokens":300,"prompt":"${prompt}","raw":false,"stream":false}`
          };
        const url = `https://api.cloudflare.com/client/v4/accounts/[my acc ID]/ai/run/@cf/mistral/mistral-7b-instruct-v0.2-lora`
          
        axios.request(options).then(function (response) {
            console.log(response.data);
          }).catch(function (error) {
            console.error(error);
          });
    }