REST - Representational State Transfer

989 views
909 views

Published on

REST

This presentation has been developed in the context of the Mobile Applications Development course, DISIM, University of L'Aquila (Italy), Spring 2013.

http://www.ivanomalavolta.com

Published in: Technology
0 Comments
3 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
989
On SlideShare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
54
Comments
0
Likes
3
Embeds 0
No embeds

No notes for slide

REST - Representational State Transfer

  1. 1. 
  2. 2. ••––••–
  3. 3.
  4. 4. •••
  5. 5. •••••
  6. 6.
  7. 7.
  8. 8. ••••
  9. 9. –––
  10. 10.
  11. 11. http://restfuljava.com/students/{name}http://restfuljava.com/students
  12. 12. <student><name>Jane</name><age>10</age><link>/students/Jane</link></student>
  13. 13. <students><student><name>Jane</name><age>10</age><link>/students/Jane</link></student><student><name>John</name><age>11</age><link>/students/John</link></student></students>
  14. 14. 
  15. 15.
  16. 16. 
  17. 17. –––
  18. 18. ––
  19. 19. <input type="text" name=“u" id=“u" value="" /><input type="password" name=“p" id=“p" value="" />var username = $(#u).val();var password = MD5($(#p).val());$.ajax({type: POST,url: „https://www.domain.com/login.php,data: {username: username,password: password},success: function(result) {console.log(“logged in”);}});
  20. 20. 
  21. 21. •––––•

×