Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • REST based web service

    • 0
    • 1
    • 1
    • 0
    • 0
    • 0
    • 0
    • 0
    • 163
    Comment on it

    REST(Representational State Transfer) service is basically HTTP based API. Today many sites provide REST based api to access thier data. example : google , twitter , yahoo, ebay.

    Each URL provide by the website 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.

    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.

    For acceess the service we have to write the Rest Client based on our programming language.But for testing the api we can use can use the "Poster" plugin for Mozilla Firefox.

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

 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: