Replies: 1 comment
-
You can give chatgpt the openapi documentation and it should be able to provide working code pretty consistently. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello. Newbie question. I am using TANDOOR for some years now as a recipe database user. Currently I am taking my first steps towards the API and I would appreciate some help and guidance. I am looking for a working example to add 1 single item via API into a shopping list. My efforts seem to produce no result. So far the curl call that I do for testing goes to "[my Server]/api/shopping-list-entry/" and seems to be logging in correctly, but I seem to have incomplete/messed up JSON content. I get back the error-message from the API call "{"food":["This field is required."],"amount":["This field is required."]}". I tried to supply the necessary fields, but no success so far. If please a working curl example could be shared (as I am familiar with the syntax) so I can see what I am doing wrong?
Beta Was this translation helpful? Give feedback.
All reactions