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 
<https://blog.vivekshukla.xyz/uploading-file-using-api-django-rest-framework/> 
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

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/d437f8c1-f934-44bc-8252-3ba8540fa477%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to