REST - Representational State Transfer

  • 725 views
Uploaded on

REST …

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

More in: Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
No Downloads

Views

Total Views
725
On Slideshare
0
From Embeds
0
Number of Embeds
0

Actions

Shares
Downloads
48
Comments
0
Likes
1

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. 
  • 2. ••––••–
  • 3.
  • 4. •••
  • 5. •••••
  • 6.
  • 7.
  • 8. ••••
  • 9. –––
  • 10.
  • 11. http://restfuljava.com/students/{name}http://restfuljava.com/students
  • 12. <student><name>Jane</name><age>10</age><link>/students/Jane</link></student>
  • 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. 
  • 15.
  • 16. 
  • 17. –––
  • 18. ––
  • 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. 
  • 21. •––––•