diff --git a/README.md b/README.md index 94f2b3f..f5809ed 100644 --- a/README.md +++ b/README.md @@ -2558,7 +2558,7 @@ def serve_html(sport): return render_template_string('

{{title}}

', title=sport) ``` * **To return an error code use `'abort()'` and to redirect use `'redirect()'`.** -* **`'request.args[]'` returns parameter from the query string (URL part after the ?).** +* **`'request.args[]'` returns parameter from the query string (URL part after '?').** * **Use `'session[key] = value'` to store session data like username, etc.** ### REST Request diff --git a/index.html b/index.html index 69c86d4..033a1de 100644 --- a/index.html +++ b/index.html @@ -2099,7 +2099,7 @@ app.run(host=None, debug='abort(<int>)' and to redirect use 'redirect(<url>)'. -
  • 'request.args[<str>]' returns parameter from the query string (URL part after the ?).
  • +
  • 'request.args[<str>]' returns parameter from the query string (URL part after '?').
  • Use 'session[key] = value' to store session data like username, etc.
  • REST Request

    @app.post('/<sport>/odds')