Skip to content

is it possible to override put? #76

@ajwillo

Description

@ajwillo

Im trying to bulk upload data using PUT, but am getting keyError ID, this is expected as I do not have the ID in the JSON data.

however there is another unique field in the JSON Data and I could use that to upload, is it possible to do this?

Model:

ID - unique auto increment
PDID - another unique value
NAME
Mobile

JSON
[{"Name": "Billy Bob", "Mobile": "015525 58165", "PDID": "PA8AMY1"}, {"Name": "John Smith", "Mobile": "159815588, "PDID": "PQ0FT0P"}]

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions