Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
Node is saved as draft in My Content >> Draft
  • REST Web Sertvice

    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 6
    Comment on it

    RESTful web services are built to work best on the Web.Representational State Transfer (REST) is an architectural style that specifies constraints, such as the uniform interface, that if applied to a web service induce desirable properties, such as performance, scalability, and modifiability, that enable services to work best on the Web. In the REST architectural style, data and functionality are considered resources and are accessed using Uniform Resource Identifiers (URIs), typically links on the Web. The resources are acted upon by using a set of simple, well-defined operations. The REST architectural style constrains an architecture to a client/server architecture and is designed to use a stateless communication protocol, typically HTTP. In the REST architecture style, clients and servers exchange representations of resources by using a standardized interface and protocol.

    Each URL on the server represents a resource; either a collection resource or an element resource.
    A collection resource would be available at a URL like http://restful.ex/items/ which would be a representation of a list of items.
    A element resource would be available at a URL like http://restful.ex/items/2 which would be a representation of a single item, identified by 2.
    Different HTTP methods are used for different CRUD operations:
    a.GET is a read operation
    b.PUT is a write/modify operation
    c.POST is a create/new operation
    d.DELETE is a... ok, that one is kind of self-explanatory.
    State (or rather, client context) is not stored on the server-side; all state is in the representations passed back and forth by the client's requests and the server's responses.

    We can use the "Poster" plugin for Mozilla Firfeox for testing any rest base service URL.

    Enjoy the REST  !! I will come soon  with next blog in the same series.:)
    
    web service

 0 Comment(s)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: