>
What is a REST or RESTful API ( web service )
Welcome, Guest

by Nitin on Thursday, 09 December 2010
What is a REST or RESTful API ( web service )


 

A RESTful web service or a RESTful web API is a simple web service implemented using HTTP and the principles of REST. It is a collection of resources, with three defined aspects:

1) the base URI for the web service, such as http://example.com/resources/

2) the MIME type of the data supported by the web service. This is often JSON, XML or YAML but can be any other valid MIME type.

3) the set of operations supported by the web service using HTTP methods (e.g., POST, GET, PUT or DELETE).

 

application needs to understand the format of the information returned, which is typically an HTML, XML or JSON document of some kind, although it may be an image, plain text, or any other content.

 

Key goals of REST include:

 

 

 


Topic Normal principles of the REST interface
by Nitin on 12/09/2010 16:05

principles of the interface

 Identification of resources

 

Individual resources are identified in requests, for example using URIs in web-based REST systems. The resources themselves are conceptually separate from the representations that are returned to the client. For example, the server does not send its database, but rather, perhaps, some HTMLXML or JSON that represents some database records expressed, for instance, in Swedish and encoded in UTF-8, depending on the details of the request and the server implementation.
Manipulation of resources through these representations
When a client holds a representation of a resource, including any metadata attached, it has enough information to modify or delete the resource on the server, provided it has permission to do so.
Self-descriptive messages
Each message includes enough information to describe how to process the message. For example, which parser to invoke may be specified by an Internet media type(previously known as a MIME type). Responses also explicitly indicate their cacheability.[1]
Hypermedia as the engine of application state
If it is likely that the client will want to access related resources, these should be identified in the representation returned, for example by providing their URIs in sufficient context, such as hypertext links. 

 



Blogger Image
My Blog Title

Product Engineering, software engineering company, Product Development, Product Migration, Product Re-engineering, Product Maintenance, Product Testing Commercial Application Development, Business Software development, commercial software for startups, Application Support and Maintenance, software testing Product Maintenance, Outsource product maintenance, product support and maintenance Product Migration, Product Re-engineering, product re-engineering services Product Research, Product Engineering, UI Prototyping Services Software Testing Services, Quality Assurance services, professional software testers, Load Testing, Functional Testing, Cross Platform, Browser Testing, Test Automation, Testing Tools, software quality analysis Functional Testing Services, software quality analysis, Software Testing Services, Application Testing Services, Functional Testing Types Automated Testing, Automated Testing Services, automation testing, test script development, Automation Test Tools, outsource automation testing Load Testing, Performance Testing Services, Load Testing Tools Offshore Software Development, Outsource software services, offshore outsourcing services, offshore software development services, IT outsourcing services, software quality assurance services, Offshore IT services, Custom Application Development Services, Offshore Product Engineering Benefits of IT Outsourcing, Offshore Software Development companies, offshore software development firms Outsource planning, IT outsourcing, IT development services, offshore IT companies, offshore software development Offshore Software Development, Outsource software services, offshore outsourcing services, offshore software development services, IT outsourcing services, software quality assurance services, Offshore IT services, Custom Application Development Services, Offshore Product Engineering Offshore Software Development, Outsource software services, offshore outsourcing services, offshore software development services, IT outsourcing services, software quality assurance services, Offshore IT services, Custom Application Development Services, Offshore Product Engineering