Skip to content

Recommended way of sending null as a parameter #81

@SirRender00

Description

@SirRender00

Hey, I've run into an issue where I can't figure out how to send null as required by some endpoints by the Github API, (specifically updating branch protection). This endpoint requires parameters of type object or nullable. I've tried var=None, var='null', var='', var={}. All are met with a HTTP422 Error: Unprocessable Entity (as opposed to specifying the values which work fine). Any help would be appreciated.

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