The front-end interview asked Restful, what he wanted to know.

according to the interface I currently use Restful, the
front end only needs to know how to use get , post , put , delete to make the corresponding request.
and the corresponding semantics of various http code. You will be able to satisfy the completion of the request, as well as what the request error needs to do.

isn"t this a specification for the interface when the back end writes the interface?

for the front end, how much do you need to know about restful to qualify?

Mar.16,2021

you can talk about the pros and cons of the restful interface standard. For example, the advantage is that the interface url is clear, and you can judge the function of the interface by looking at the urlurl. Disadvantages such as rendering a page may require multiple resource interfaces.
for the above shortcomings can be extended to the solution, for example, can be extended to another solution grashql, has a certain bonus to the interview.

Menu