Skip to content

Commit a9935bf

Browse files
committed
Merge branch 'lmazuel-patch-1'
2 parents 99c6d78 + 50456b7 commit a9935bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/source/flask_integration.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ Second - register as a usual view.
4848
from jsonrpc.backend.flask import api
4949
5050
app = Flask(__name__)
51-
app.add_url_rule('/', 'api', api.as_view())
51+
app.add_url_rule('/', 'api', api.as_view(), methods=['POST'])
5252
5353
5454
Add methods to api

0 commit comments

Comments
 (0)