How to have custom API response #8535
Unanswered
Emad-Eldin-G
asked this question in
Question & Answer
Replies: 1 comment 2 replies
-
Do you mean something like this:
|
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
So it's been pretty easy to serialize a table and return its data as a JSON response using the REST framework.
However, I wish to return custom data not related to any table or database for specific endpoints in my Django application.
Any help on this would be very much appreciated 🙏🏼
Beta Was this translation helpful? Give feedback.
All reactions