Getting Started with REST APIs with NodeJS + ExpressJs + MySQL (5/9)- Tech in 5 minutes.

preview_player
Показать описание
PUT and PATCH, both APIs are used to update Objects/ Database Rows. But REST API has different rules for both.
PUT is used to replace whole object and the keys that not passed in the request, will be updated with Null or Default values.
While PATCH just updates the key mentioned in the request.
This video also have DELETE call for REST API.

Join Remote Job community:
Рекомендации по теме
welcome to shbcf.ru