graphql options request returns 404 #7774
Unanswered
frankroc2022
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
My page gets the content of statamic as an headless cms by graphql api. The content from statamic is shown on my page (another domain) at page load. But I want to get data from the graphql api at button click. But this starts an options request, which returns 404. If i resend this request in dev console by resend and change options to post the status is 200. Could it be that this is a bug, that you cannot get data from the graphql api after page load, cause of th preflight cors options request?
Beta Was this translation helpful? Give feedback.
All reactions