Hello everybody,
i need to call remote method and i want to pass in parameters and to get
response, all in json format.
Suppose i have an endpoint * /api/actions* and will POST
*{"action":"do_some_cals",
"param1":"111","param2":"222"}*
and will get reponse *{ "result":"333"}*
There will be no model for any methods
How can i do this in DRF , is there better way, how to design calling
methods in DRF?
Thank you in advance for help.
Hanz
--
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].
For more options, visit https://groups.google.com/d/optout.