DRF Trailing Slah

32 views
Skip to first unread message

MISHEL HANNA

unread,
Apr 12, 2024, 5:39:04 PM4/12/24
to Django users
Hello
i have endpoint when add / to the end of it i can not send request it return this 
Not Found: /api/v1/properties/user/
[12/Apr/2024 20:19:03] "GET /api/v1/properties/user/ HTTP/1.1" 404 23

but when remove / from the end of it return success
[12/Apr/2024 20:19:09] "GET /api/v1/properties/user HTTP/1.1" 200 635


Luis Zárate

unread,
Apr 12, 2024, 6:07:01 PM4/12/24
to django...@googlegroups.com
Check your URL.py and append the slash, also take a look of


--
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...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/d5b533b0-e482-4db5-8a4d-ce925aefcbf4n%40googlegroups.com.


--
"La utopía sirve para caminar" Fernando Birri


Reply all
Reply to author
Forward
0 new messages