In HTTP, what is REST?

Possible duplicates:
What is REST? [closed]
Does the WCF REST client support WebChannelFactory REST services that use redirects? What I do not understand in REST?

What is the REST command in HTTP? I know the GET and POST that I used to receive or send data to / from the server. But what exactly does REST do?

+3
source share
7 answers

REST is not a valid HTTP command; they are limited to GET, POST, PUT, OPTIONS, HEAD and DELETE, TRACE and CONNECT (at least in HTTP / 1.1).

REST , , HTTP. . , , -, , .

, .

+8

REST HTTP-. REpresentational State Transfer. REST ...

+4

Actaully REST HTTP, ​​HTTP.

.

EDIT:

, SO-.

+2

REST - , HTTP-, GET, POST PUT. , "REST", HTTP REST-ful.

+1

Wikipedia. REST - . DELETE, GET, PUT - , HTTP.

+1

, - . REST HTTP.

RESTful HTTP, GET POST.

+1

REST - , : REST

RESTFUL web services use basic HTTP verbs to create stateless calls. The service structure should use nouns, for example:

http: // myhost / pictures / 3

will return an image with id 3. This is a basic example. Most sedative services are structured similarly to this.

0
source

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


All Articles