S
S
Sergey Sokolov2018-06-11 17:55:36
API
Sergey Sokolov, 2018-06-11 17:55:36

Why didn't VK make their own RESTful API?

I am planning to redo the API of one project and wondered why VKontakte did not begin to make their API RESTful? Instead, they have designated a set of "ends" that can be accessed by both POST and GET.
For example, VK has separate methods wall.post , wall.get, wall.edit, wall.delete. According to the REST specification, instead of them there could be one end wall, and, depending on the HTTP method - respectively, POST, GET, PUT, DELETE - creation, reading, editing and deletion would be performed.
What do you think could have caused such a decision by VK?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
D
Dmitry Evgrafovich, 2018-06-11
@sergiks

Well, at least because many of their addresses accept values ​​as options that will not fit into the get parameter. For example 1000 user_ids in the users.get method.

P
Puma Thailand, 2018-06-12
@opium

There, half of the API call options simply won’t fit into restfull

D
d-stream, 2018-06-11
@d-stream

For example, historical and chronological reasons + looking back at their internal architecture.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question