Today when I went to connect the button on my React app to my Express server to get the emails sent, I got an error about Cross Origin Resource Sharing (CORS). This is part of the security implemented into a browser that allows a website to request resources from its own URL, but blocks resources from other URLs unless certain conditions are met. The server must specify which requests it will fulfill with the Access-Control-Allow-Origin header. The cors library handles this easily with Express. Once the origin is allowed, the request goes through and works.
Subscribe to:
Post Comments (Atom)
190: Sablier
The CodeHawks platform has an upcoming audit on the Sablier protocol, so I decided to read through the docs and familiarize myself with the...
-
The CodeHawks platform has an upcoming audit on the Sablier protocol, so I decided to read through the docs and familiarize myself with the...
-
The ZKasino project recently exit scammed over 33 million dollars worth of Ethereum. he recent debacle surrounding ZKasino offers valuable...
-
In addition to its native SDK, Hedera also supports smart contracts in a platform compatible with the Ethereum Virtual Machine. This allows ...
No comments:
Post a Comment