라벨이 DRF인 게시물 표시

[DRF] API 호출 URL

[API 호출 URL] urls.py router = routers.DefaultRouter() router.register(r'users', views.UserViewSet, basename='user') router.register(r'groups', views.GroupViewSet, basename='group') router.register(r' obslogs ', views.ObslogViewSet, basename='obslog') url http://localhost:80 00/api/ obslogs / (GET - Note List) http://localhost:8000/api/ obslogs / (POST - Create Note) http://localhost:8000/api/ obslogs /{id}/ (GET - Get Single Note by id) http://localhost:8000/api/ obslogs /{id}/ (PATCH - update partial) http://localhost:8000/api/ obslogs /{id}/ (DELETE - destroy a single note by id) api url call d = {         'who_user':who_user,          'who_ip':who_ip,          'who_useragent':who_useragent,         'who_device':who_device,         'who_device_type':who_device_type,         'who_device_family':who_devic...