HTTP Status Codes In API Development

Hello friends, you have read about the HTTP status codes in web development, normally we see 200 for OK, 404 for Not Found and 500 for Internal Server Error in our developing projects and doing research on web. Even i was only aware about some of these status but recently developing an API, i have to show different type of status on front end base on response. Then i started to send the response with my success or failure message. It was a bit hard for me to maintain these due to same response status 200 for success and 404 for result not found. Only these two status i was maintaining, actually was not aware about all other response status. Then i start studying over internet important of HTTP Status in Api Development. Then i started to maintain the status relevant to response type.

read more