You need to create models according to your json data , write and api end point which accepts this data , and loads it in data base. You can use retrieve api mixin and create api mixin , for this, override the def create method to work with your data.
On Friday, 25 June 2021 at 15:48:19 UTC+5:30 [email protected] wrote: > I have a json data and I want to post it on some api endpoint (like > :localhost/workflow) > and want to get that data back on get call (get localhost/workflow or get > localhost/workflow/<id>) .I have more than 1 json data and want to attach > id to it. > How should I go about it > Data I have attached as an attachment. > -- You received this message because you are subscribed to the Google Groups "Django REST framework" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/django-rest-framework/631496b8-aa88-48fe-9fda-9229beecdbf9n%40googlegroups.com.
