DEV Community

Muhammad
Muhammad

Posted on

What mistakes do beginners do when they create Restful APIs?

  1. Their APIs crash the server when an error occurs inside an API endpoint. In a correctly made API, the server does not crash rather it continues running in case of an error inside an API endpoint. Do error handling by using .catch or try-catch blocks.

Top comments (0)