Search
Setup for Free
CD
Cloudflare Developers
•
3y ago
chiisai kuro
how to find the 'cookie' of the incoming request
help
.
.
.
Cloudflare Developers
Join
Welcome to the official Cloudflare Developers server. Here you can ask for help and stay updated with the latest news
83,434
Members
View on Discord
Similar Threads
Was this page helpful?
Yes
No
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Similar Threads
how to find the origin of the incoming request
CD
Cloudflare Developers / workers-and-pages-help
3y ago
Create request header to origin based on incoming request header
CD
Cloudflare Developers / general-help
3y ago
Can Pages Function Middleware change incoming request?
CD
Cloudflare Developers / pages-help
3y ago
how to find a request 500 on cloudflare dashboard?
CD
Cloudflare Developers / general-help
3y ago
C
Cyb3r-Jak3
•
6/12/23, 1:00 PM
The best way is
https://developers.cloudflare.com/workers/examples/extract-cookie-value/
Cookie parsing · Cloudflare Workers docs
This example requires the npm package cookie to be installed in your JavaScript project
.
C
Cyb3r-Jak3
The best way is https://developers.cloudflare.com/workers/examples/extract-cooki...
C
chiisai kuro
OP
•
6/12/23, 2:04 PM
tip
:
'Uncaught Error
: No such module
"cookie
"
. imported from
"worker
.js
"
(Code
: 10021
)
'
what should I do
?
C
chiisai kuro
tip: 'Uncaught Error: No such module "cookie". imported from "worker.js" (Code: ...
C
Cyb3r-Jak3
•
6/12/23, 2:06 PM
Oh old quick edit
. Then you can
't import external modules
. Your best bet is to switch to new quick edit or use wrangler
C
Cyb3r-Jak3
Oh old quick edit. Then you can't import external modules. Your best bet is to s...
C
chiisai kuro
OP
•
6/12/23, 2:13 PM
I have used new quick edit
,You can see from the screenshot
.
C
Cyb3r-Jak3
Oh old quick edit. Then you can't import external modules. Your best bet is to s...
C
chiisai kuro
OP
•
6/12/23, 2:16 PM
wrangler too complicated for me
C
Cyb3r-Jak3
•
6/12/23, 3:27 PM
I was wrong it isn
't possible to do imports in new quick edit
. Though it does appear that the request isn
't being sent correctly
C
Cyb3r-Jak3
•
6/13/23, 2:43 PM
This PR should fix the issue
https://github.com/cloudflare/workers-sdk/pull/3448
GitHub
[quick-edit] Fix CORS headers to allow arbitrary headers in raw HTT...
What this PR solves
/ how to test
:
This PR updates the edge
-preview
-authenticated
-proxy Worker to properly handle cross
-origin requests with arbitrary headers
. The HTTP tab in the Quick Editor allo
.
.
.
C
Cyb3r-Jak3
I was wrong it isn't possible to do imports in new quick edit. Though it does ap...
C
chiisai kuro
OP
•
6/13/23, 3:21 PM
The add header on page quick edit is not credible
C
chiisai kuro
The add header on page quick edit is not credible
C
Cyb3r-Jak3
•
6/13/23, 4:12 PM
Yeah because of CORS
. The PR should fix the add header function