Submit form to Worker to store in R2
I've have been dealing with this for hours now and I'm so sick of this
Worker code
Literally copy and pasted from the docs as what I wrote would not work, but this doesn't work either.
My Form Code
1 Reply
These are the errors I'm getting in console
XHR OPTIONS https://URL-HERE.workers.dev/
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://URL-HERE.workers.dev/. (Reason: CORS header ‘Access-Control-Allow-Origin’ missing). Status code: 405.
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://URL-HERE.workers.dev/. (Reason: CORS request did not succeed). Status code: (null).
I'm not familiar with dynamic web content, I only have experience with static websites
please help, been trying to get this to work for hours now...