In fact, I need your help to limit the my api to upload
I only need Jason and excel formats(csv,xls,xlsl) on the server-side, but I did not find any code for that.
The second question is, what methods should I use to authenticate the user?
Here's a link that i use it code in my api
I will thank you :)
my stack topic :https://stackoverflow.com/questions/50095233/how-to-limit-the-format-of-django-rest-framework-api-uploadingpost-method