What is REST
Representational state transfer
it is the architectural style of building Decoupled application
What is REpresentational state transfer
transfer of the state of representation(json or xml) of the resource
One important thing in rest is rest is all about using nouns for ex
api/product/9 is nous
in soap it is getproducts() is full of actions
4 type of request in http protocol can have 4 verbs
GET
Post
Put
Delete
in short rest is architecture style
soap is protocal
when anyone tells about web api it is rest
and web services it is soap api
Rest Constraints
Representational state transfer
it is the architectural style of building Decoupled application
What is REpresentational state transfer
transfer of the state of representation(json or xml) of the resource
One important thing in rest is rest is all about using nouns for ex
api/product/9 is nous
in soap it is getproducts() is full of actions
4 type of request in http protocol can have 4 verbs
GET
Post
Put
Delete
in short rest is architecture style
soap is protocal
when anyone tells about web api it is rest
and web services it is soap api
Rest Constraints
टिप्पण्या
टिप्पणी पोस्ट करा