So I have a few misunderstandings on the names STATE TRANSFER in REPRESENTATIONAL STATE TRANSFER.
- Is
state transfermeans transferring representations of a resource which is there in a server at the current instance of time?
Example: Consider a client requested the current share price of some X company by hitting /XCompanyPrice URI and at the current instance of time in the server the share price of the company x is 2 USD, and that is called the current state of the resource, and that resource state may change is what we can say? And that is what STATE means in the acronym REPRESENTATIONAL STATE TRANSFER?
OR
- Few people are saying that
STATE TRANSFERin the acronymREPRESENTATIONAL STATE TRANSFERmeans,when user click on links on a webpagethe state of the application changes from one page to another page because of information may change forlet's say: /about&let's say: /contactpage.
OR
- Few people are saying that when client access an image
let's say by: /imageconsider the format of that image isBLOB at DB, but REST transfers the representation of that image in an understandable format to the client and that is nothing butSTATE TRANSFERin the acronymREPRESENTATIONAL STATE TRANSFER.
Which is correct one in terms of REPRESENTATIONAL STATE TRANSFER.
So, the names state transfer in REPRESENTATIONAL STATE TRANSFER is saying the state of the application changes by data or Transferring representations of resource which is there in the server at the current time????
Please help.