Skip to content

It is currently not possible to handle non json requests #33

Description

@B4rtware

Create a non json request results into an error:

    request_model = TransformDocumentRequest(**flask.request.json)
TypeError: ModelMetaclass object argument after ** must be a mapping, not NoneType

It should be checked beforehand if json is present.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingv1.0.0

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions