Skip to content

Write a @Handler.require_QS_params that checks a class attribute #17

@mw44118

Description

@mw44118

The Handler.require_json decorator checks if a required_json_keys class attribute exists, and if it does, it verifies that the incoming JSON data has those keys, or it replies automatically to the request with a message saying what keys are missing.

I want something like that to inspect the query string and verify that all the required parameters exist.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions