Skip to content

Instantly share code, notes, and snippets.

@LeoHeo
Last active July 11, 2016 18:06
Show Gist options
  • Save LeoHeo/4aff0fd82dd9e2a24c690905a1f770b6 to your computer and use it in GitHub Desktop.
Save LeoHeo/4aff0fd82dd9e2a24c690905a1f770b6 to your computer and use it in GitHub Desktop.

POST List, Create

url -> /posts/

ListCreateAPIView

Create - POST

List - GET

POST Detail, Update, Delete

url -> /posts/:post_id

RetrieveUpdateDestroyAPIView

Retrieve(Detail) - GET

Update - PATCH

Delete(Destroy) - DELETE

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment