score 0 75 numberofenquiries 10 creditcheck score 0 75
play

{ "score": "0.75", - PowerPoint PPT Presentation

{ "score": "0.75", "numberOfEnquiries": 10 } <creditcheck> <score>0.75</score> <numberOfEnquiries>10</numberOfEnquiries> </creditcheck> <form action="{url}" (1)


  1. { "score": "0.75", "numberOfEnquiries": 10 }

  2. <creditcheck> <score>0.75</score> <numberOfEnquiries>10</numberOfEnquiries> </creditcheck>

  3. <form action="{url}" (1) method="POST" (2) enctype="application/x-www-form-urlencoded"> (3) ... </form>

  4. <p class="h-card"> (1) <img class="u-photo" src="..."/> (2) <a class="p-name u-url" href="..."> ... </a> (2) <a class="u-email" href="mailto:..."> ... </a> (2) <span class="p-street-address"> ... </span> (2) <span class="p-locality"> ... </span> (2) <span class="p-country-name"> ... </span> (2) </p> h-card class h-card

  5. { "class": [ "h-card" ], (1) "properties": { "name": "...", (2) "street-address": "...", (2) "locality": "...", (2) "country-name": "..." (2) }, ... } h-card h-card

  6. { ... "links" : [ { "rel" : [ "profile" ], "href" : "http://microformats.org/wiki/h-card"}, (1) { "rel" : [ "url" ], "href" : "..." }, (2) { "rel" : [ "email" ], "href" : "..." }, (2) { "rel" : [ "photo" ], "href" : "..." }, (2) { "rel" : [ "self" ], "href" : "..." } (2) ] } h-card h-card

  7. { "class": [ ... ], "properties": { ... }, "entities": [ ... ], "actions": [ ... ], "links": [ ... ] }

  8. { ... "actions": [ { ... "method": "POST", (1) "href": "{url}", (2) "type": "application/x-www-form-urlencoded", (3) ... ] } ], "links": [ { "rel": [ "self" ], "href": "{url}" }, (4) (5) ... ] } Content-Type GET type application/vnd.siren+json

  9. { "class": [ "order", "collection" ], (1) "properties": { "orderNumber": 42, (2) "itemCount": 3, (3) ... }, "entities": [ ... ], ... } order collection order collection

  10. { ... "actions": [ { "name": "add-item", (2) ... "fields": [ { "name": "orderNumber", "type": "...", "value": "..." }, (1) ... ] } ], "links": [ { "rel": [ "self" ], "href": "..." }, (3) ... ] } order collection

  11. src ⇒ GET {src} <img src="http://www.example.org/images/logo" title="..." /> href ⇒ GET {href} <a href="http://www.example.org/search" title="..."> ... </a> method ⇒ GET <form action="/search" method="GET"> <label>Search term:</label> <input name="query" type="text" value="" /> <input type="submit" /> </form>

  12. ⇒ POST <form method="POST" action="..."/> ... </form> ⇒ PUT DELETE function delete(id) { var client = new XMLHttpRequest(); client.open("DELETE", "/records/"+id); }

  13. accept ⇒ Accept <xsl:include href="http://www.exmaple.org/newsfeed" accept="application/rss" /> enctype ⇒ Content-Type <form method="..." action="..." enctype="application/x-www-form-urlencoded" /> ... </form> ⇒ GET POST <form method="POST" action="..." enctype="..." /> ... </form> rel ⇒ <a href="..." rel="search" title="..."> ... </a>

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend