rmosolgo / graphiql-rails

Mount the GraphiQL query editor in a Rails app
MIT License
447 stars 135 forks source link

Added csrf protection support #4

Closed dschwar closed 8 years ago

dschwar commented 8 years ago

Added config option to enable CSRF headers and to send "csrf-token" in the “X-CSRF-Token” HTTP header when making requests.

rmosolgo commented 8 years ago

Nice! could you add a line to the README, too? You can put it under the other config notes

rmosolgo commented 8 years ago

Thanks, that's awesome!