Open utterances-bot opened 1 year ago
“Thanks for this article, it’s very helpful. Also, I have a question. When I try to access my API, I get a CORS rejection and I don’t know how to handle it in a SPIN app.”
Hey @MDPaun I've a repository on GitHub which demonstrates how one could deal with CORS in Spin. https://github.com/ThorstenHans/spin-contrib-http
I hope this helps. If not, reach out.
CRUD in WebAssembly with Fermyon Spin and MySQL · Thorsten Hans' blog
This post demonstrates how to persist data in MySQL when building cloud-native applications with Fermyon Spin. Leveraging the Spin SDK for Rust.
https://www.thorsten-hans.com/crud-in-webassembly-with-fermyon-spin-and-mysql/