Deleting a profile

Report a typo

Imagine you are building an online movie recommender system where users can get personalized recommendations for movies and TV shows.

To start using the service, users should register by filling in a short form where they need to list at least one movie they liked in the past. In the future, users can add more movies or change ratings for the ones added previously to get better recommendations. Occasionally, some users might also want to delete their profile.

Write down the HTTP request that would delete an account for a particular user. Use 'http://movies.com/users/[user_id]' to send the request to, where user_id is the id of the user in question (pick any number you like).

You do NOT have to import the requests module or create a variable for your request. A one-line solution is expected.

Enter a short text
___

Create a free account to access the full topic