Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

is it possible to override put? #76

Open
ajwillo opened this issue Aug 7, 2019 · 0 comments
Open

is it possible to override put? #76

ajwillo opened this issue Aug 7, 2019 · 0 comments

Comments

@ajwillo
Copy link

ajwillo commented Aug 7, 2019

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant