Fork me on GitHub
#graphql
<
2018-06-12
>
Roger Roberts13:06:06

Does anyone know how to solve this issue: I'm calling a GraphQL end point, written in Clojure using Lacinia-Pedestal from ClojureScript, but the GraphQL service is showing that its receiving OPTION not the post request that I'm sending. I'm assuming that I need to send something in the header. BTW: Service and Front End are both on my box. This is a PoC.

manutter5114:06:41

Try adding a "Cache-Control" "no-cache" header to the response. You’ll probably need to clear your browser’s cache before it will recognize the new headers.

👍 4
orestis14:06:47

Also check for CORS stuff.

hlship16:06:23

I think there will be a a next number of Lacinia changes related to the spec