graphql-python / graphql-python/sanic-graphql

graphql endpoint Method POST not allowed for URL

オープン
#24 コメント 1 件 リアクション 1 件 担当者 0 名 GitHub で見る
主要言語
Python
スター
148
フォーク
17
PR マージ指標
30日以内にマージされた PR はありません

説明

When I add the code shown in the example and point my browser to the URL the GraphiQL web page is displayed but an error stating Method POST not allowed for URL. I see the GET request to serve the web page for the GraphiQL UI returned successfully. I then see a POST request and the error "Method POST not allowed for URL" is returned.

After asking on the Sanic Discord support channel it was recommended that I add methods=['POST'] to the app.add_route call but this did not change the outcome.

This is running with:
sanic v21.3.4
sanic-graphql v1.1.0
graphene v2.1.8

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。