REST API & Their Versioning - Interview Question

preview_player
Показать описание
In this video, we are discussing how to answer the question related to REST APIs and their versioning.
Lots of companies are building REST APIs and want all their data to be consumed by other products. REST APIs are the most common ways to expose data to be consumed by outside the organization. So this is a common question that what are REST APIs and how are REST APIs versioned.

Рекомендации по теме
Комментарии
Автор

At 4:11 you mentioned contentType is the format where client is expecting the data. This statement is not true for contenttype rather it is true for Accept in header.
Accept header is used by HTTP clients to tell the server what content types they'll accept. The server will then send back a response, which will include a Content-Type header telling the client what the content type of the returned content actually is

arpitgarg