Why does LinkedIn have JavaScript and a Rest API?

Why LinkedIn has samples of the API REST and JavaScript ? One of them is JavaScript api and the other is rest api. What purpose has 2 api? Better than the other? Have you used any problems and encountered them?

Which is more effective in terms of information retrieval

+4
source share
1 answer

LinkedIn has created 2 API sets to provide greater flexibility for developers.

The Javascript API provides a rich and user-friendly library for quickly creating a dynamic user interface in web browsers. It uses OAuth 2 to easily allow users.

While the REST API is a programming language and platform agnostic. It uses the XML / JSON format and its simple. But this requires developers to create their own user interface. It uses OAuth 1.0a to authorize users.

+6
source

Source: https://habr.com/ru/post/1385326/


All Articles