Skip to content

Fix: add movie_id to PUT endpoint for proper RESTful update Fix put endpoint#1

Open
nathandabre wants to merge 2 commits intozhudiana:mainfrom
nathandabre:fix-put-endpoint
Open

Fix: add movie_id to PUT endpoint for proper RESTful update Fix put endpoint#1
nathandabre wants to merge 2 commits intozhudiana:mainfrom
nathandabre:fix-put-endpoint

Conversation

@nathandabre
Copy link

  • Updated the PUT route to include movie_id in the URL path.
  • This fixes an issue where the endpoint couldn't identify which movie to update
    if the ID wasn't provided in the request body.
  • Follows RESTful best practices.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant