This post has been de-listed
It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.
Hello friends! Could you please help me with the below queries? I have also provided my answers except for the last one which I am not sure. Kindly correct me if I am wrong.
What should be the HTTP response code for the following situations:
a) If a request is sent on a URL that does not exist on the application - 404 Not Found
b) If a request is sent on a URL to create an object on the application, and it is successfully created - 201 Created
c) If a request is sent on a URL to get details of an object and the detail is sent successfully - 200 OK
d) If a form is submitted with some invalid input - ??? (Not sure about this)
Subreddit
Post Details
- Posted
- 4 years ago
- Reddit URL
- View post on reddit.com
- External URL
- reddit.com/r/djangolearn...