REST (Representational state transfer) : architectural software for styling web.used to create interactive application. it is independent of any protocol.
REST APIs are designed around a resources (object, data or service).
Identifier which the resource has is a unique URL that identifies the resource.
example : HTTP “(https://adventure-works.com/orders/1)”
URL (Uniform Resource Identifier) : sequence of characters that identifies resource . based standards on resource(nouns ) and the operation of the resource (not verbs).
example of Good URL : https://adventure-works.com/orders
‘Chatty’ web API : if designed the wrong resources for clients . and it is bad thing to make large number of small resources.
Successful Get request return : HTTP code 200 (ok).
Unsuccessful Get request return : HTTP code 400 (not found).
Successful POST request return : HTTP code 201 (created). code 204 (no content).