Friday, January 9, 2015

REST Web Service


-REST is alternative to SOAP and WSDL.

-Generally, the four primary HTTP verb are used as follows:

1.GET
Read a specific resource (by an identifier) or a collection of resources.
2.PUT
Update a specific resource (by an identifier) or a collection of resources.
Can also be used to create a specific resource if the resource identifier is know before-hand.
3.DELETE
Remove/delete a specific resource by an identifier.
4.POST
Create a new resource. Also a catch-all verb for operations that don't fit into the other categories.

- REST runs over HTTP (Hypertext Transfer Protocol)

-try this
  Facebook
           www.facebook.com/youtube
  https://graph.facebook.com/youtube
  https://graph.facebook.com/youtube?fields=id,name,likes

  GMAP
           https://maps.googleapis.com/maps/api/geocode/json?address=khamgaon&sensor=false
  Instagram
           http://instagram.com/developer
           click on-> API console
   

No comments:

Post a Comment