Forwarded from kassdag's Archive
So you're building a frontend-only project, maybe a dashboard, a small tool, or just experimenting. You may have a feature that fetches data from an external API, and you face a CORS error: "Blocked by Cross-Origin Resource Sharing policyβ¦"
This happens when the API doesn't allow your domain.
The "Quick Hack" Solution: Using a tool like AllOrigins can help you bypass CORS by acting as a proxy.
Instead of calling the API directly:
You do:
If you do that, there will be no CORS error. This works because AllOrigins fetches the data server-side and returns it to you with proper headers. #KassTechTip #Tip001
This happens when the API doesn't allow your domain.
The "Quick Hack" Solution: Using a tool like AllOrigins can help you bypass CORS by acting as a proxy.
Instead of calling the API directly:
`fetch("https://api.example.com/data")`
You do:
fetch(`https://api.allorigins.win/raw?url=${encodeURIComponent("https://api.example.com/data")}`)
If you do that, there will be no CORS error. This works because AllOrigins fetches the data server-side and returns it to you with proper headers. #KassTechTip #Tip001
β€1π1
Forwarded from Eyu's Terminal
Introducing the world's first CAAS π
caas-eyu-terminal.vercel.app
at the small price of $12/month you can use your calculator on a website.
@eyu_terminal
caas-eyu-terminal.vercel.app
at the small price of $12/month you can use your calculator on a website.
@eyu_terminal
Forwarded from Coolio
50 people have completed registration successfully. Our Seats are officially full and registration is closed!
big names that are part of our hike:
TechNerd
Natyiu
OnixDesign
SemerNur
Senyi
GenenT
EyuTerminal
TechVibe
TechWorld
FrostySiren
EzraRambling
honorable mentions:
EKDDesigns
TheDualJourney
StackMinds
Yoni.Sh
KassDagsArchives
sorry if i forgot anyone πβ€οΈ
cant wait for Sunday to come this is going to be hella fun!!! β€οΈπ₯π
big names that are part of our hike:
TechNerd
Natyiu
OnixDesign
SemerNur
Senyi
GenenT
EyuTerminal
TechVibe
TechWorld
FrostySiren
EzraRambling
honorable mentions:
EKDDesigns
TheDualJourney
StackMinds
Yoni.Sh
KassDagsArchives
sorry if i forgot anyone πβ€οΈ
cant wait for Sunday to come this is going to be hella fun!!! β€οΈπ₯π
Telegram
Tech Nerd
Yeab | 22 | Developer | Founder | College Dropout
I write the thoughts that refuse to stay quiet.
I write the thoughts that refuse to stay quiet.
π₯3
Forwarded from Mohammed
Anyone wanna be dev-events camera man for this event?
I'll sponsor you. (Hike, activities, food)
Dm
I'll sponsor you. (Hike, activities, food)
Dm
Letβs reach 100 subscribers. Only 6 more to go! π
Weβd really appreciate your support π₯³
Weβd really appreciate your support π₯³
This media is not supported in your browser
VIEW IN TELEGRAM
Beka 100 eskemihon metebek newπ
π5
This media is not supported in your browser
VIEW IN TELEGRAM
Shout-out to our 100th subscriber Fraol the G πππ
π₯1
Forwarded from Coolio
GUYS!
You MUST be at entoto, shero meda gate by 2:00, so please leave your house at 12.
the hike starts at 2:30 if you dont make it by that time you will be left behind!
0979562972 - call me if you need any info
Route: shiromeda -> entoto (taxi/bus ale)
Location: https://maps.app.goo.gl/LGqdiSoiyUuRmrFG8
You MUST be at entoto, shero meda gate by 2:00, so please leave your house at 12.
the hike starts at 2:30 if you dont make it by that time you will be left behind!
0979562972 - call me if you need any info
Route: shiromeda -> entoto (taxi/bus ale)
Location: https://maps.app.goo.gl/LGqdiSoiyUuRmrFG8
What an amazing time thoπ
π₯3π₯°1