Mr. Goodman
Mr. Goodman
CDCloudflare Developers
Created by Mr. Goodman on 1/14/2024 in #workers-help
HTTP Fetch Request
Hi there whenever I try to make a fetch request to my HTTP website with my cloudfare worker, it returns error code: 521
9 replies
CDCloudflare Developers
Created by Mr. Goodman on 1/14/2024 in #general-help
HTTP Request Fetch
Hi there whenever I try to make a fetch request to my HTTP website with my cloudfare worker, it returns error code: 521
2 replies
CDCloudflare Developers
Created by Mr. Goodman on 1/8/2024 in #workers-help
Worker to Worker fetch
Hi there, I would like to ask for some help with my cloudflare worker. When i make a request to another cloudflare worker of mine that holds a variable with data in it from another cloudflare worker. The data returned is empty, however i make the data request from my browser or api tester, it returns the correct data. It is specifcally when I request the data from a cloudflare worker.
import { Router } from 'itty-router'; const router = Router()

order_data = [];

//admin only
router.get("/order", async (req) => {
return new Response(JSON.stringify(order_data));
});
import { Router } from 'itty-router'; const router = Router()

order_data = [];

//admin only
router.get("/order", async (req) => {
return new Response(JSON.stringify(order_data));
});
164 replies
CDCloudflare Developers
Created by Mr. Goodman on 10/20/2023 in #workers-help
ES Modules and Cloudflare Workers
H i there, I would like to know if Cloudflare Workers are compatible with ES Modules. I have tried to deploy a project of mine with Wrangler while using imports and It gives tons of errors. I would like to get some more info on this. Any help would be muchly appreciated.
49 replies
CDCloudflare Developers
Created by Mr. Goodman on 7/30/2023 in #workers-help
Cloudflare Worker Route
Hi, can anyone please help me get routes working with cloudflare worker please.
2 replies