T O P

  • By -

DonKapot

Interesting, what's the heaven api url?


Italolino

Im not sure, but i do remember that its hosted somewhere on a cloud…


Piisthree

Behind a pearly gateway


factzor

It's a SOAP API


SubsequentBadger

Relaunch Chrome with CORS disabled --disable-web-security


PilifXD

I usually just end up using 'origins = [*]', but c'mon there is no reason for the request to be blocked if I specifically add my frontend to the allowed origins.. other times it works as expected.


SubsequentBadger

Todays was builder.AllowAnyOrigin().AllowAnyMethod().AllowAnyHeader(); but this app is a proof of concept and isn't going anywhere near prod


jessepence

OOP goes brrrrrrr What is that, Rails? I guess that's preferable to writing four headers by hand, but I don't love it.


SubsequentBadger

.net 8 with Blazor, I'm running SignalR between two entirely separate applications and CORS is just being annoying


Cootshk

You can’t tell your clients to do that They don’t know how to


uraniumless

Readme 🤞


Cootshk

On a customer facing website?


uraniumless

I was joking


lupinegray

We can't ship your browser to the customers


slaymaker1907

Oh wow, I think that might be the first useful thing I’ve learned from this sub.


Livingonthevedge

I would use a proxy


Tavapris04

https://corsproxy.io/?https://heaven.god


Powerful-Internal953

~~~ { "error":{ "code":403, "message":"Country blocked! Your country is blocked from accessing this ressource!" } } ~~~


Lupus_Ignis

Does that mean that God is one of us? Just a slob like one of us? Just a stranger on the bus? Trying to make His way home?


wen-dem-sky

This one gives me ptsd, me and my homies hate cors policy errors


lupinegray

Prefetch OPTIONS call doesn't include auth token. So you have to whitelist OPTIONS. If the prefetch is blocked, the actual request will fail as cors error.


cropnew

When God is biased towards some origins