H
H
HexUserHex2020-05-24 18:36:40
RESTful API
HexUserHex, 2020-05-24 18:36:40

A few questions about REST?

If the data received from the user on the front-end is further on the backend in the URL:
Like this:

GET /prof/follow/1/user/an/city_id/123/sort/1/filter/1/ HTTP/1.1


As a result, we get not XML or JSON, but ready-made HTML, can we assume that this resource partially complies with the REST standard / technology?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ivan Shumov, 2020-05-24
@HexUserHex

It is fully consistent with REST in that the state of the resource is given in this concept. In what format it is - it does not matter, even in parrots. The resource in this case is a URI
PS, although I would beat my hands for using such URIs

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question