26

Re: REST API, practical questions

27

Re: REST API, practical questions

28

Re: REST API, practical questions

29

Re: REST API, practical questions

Hello, Artem Korneev, you wrote: AK> Further. I called their technical lead and it explained me the reason of such code - in kach-ve parameter to request the array of identifiers is transferred. Each identifier - about 30 characters. If to transfer them as GET-inquiry parameters easily array from 60 identifiers occupies already pair kilobyte and they are not assured, whether exceeds it of limits of length of HTTP-inquiry. AK> here the second, more important question - as such things become humanly? Here if it is necessary to support GET-inquiries, in which the length of arguments pulls kilobyte on heels how to be? To demand to break requests? Or to spit and request the data through POST-inquiry, transferring parameters in a request body? Or to adjust a Web server, to increase the maximum length of request? AK> advise. Somebody for certain after all came up against a situation when for request of the data it is necessary to transfer some tens parameters. Can any examples is among well-known REST-services? IMHO, motivation quite reasonable. I would not be soared and did through POST. At us for example all DELETE and PUT are locked on routers, as a result all through POST. If to rest a horn and to demand correspondence to a canon, it is possible so anything and not to make.