1 2 3 4 5 6 7 8 9 10 11 12 13 14 | PUT /books/123456 HTTP/1.1 Host: example.com Reponse: HTTP/1.1 200 OK Date: Fri, 10 Sept 2010 17:15:33 GMT Last-Modified: Fri, 10 Sept 2010 17:15:33 GMT <book category="CHILDREN"> <title lang="en">Harry Potter</title> <author>J K. Rowling</author> <year>2005</year> <price>31.99</price> </book> |
1 2 3 4 5 | DELETE /books/123456 HTTP/1.1 Host: example.com Reponse: HTTP/1.1 200 OK |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 | <?xml version="1.0" encoding="UTF-8"?> <feed xmlns="http://www.w3.org/2005/Atom" xmlns ![]() xmlns:catalog="http://www.ibm.com/opensearch/1.0"> <id>urn:uuid:60a76c80-d399-11d9-b93C-0003939e0af6 </id> <link href="http://www.example.com/books?q=harry potter&start=0" rel="self"></link> <link href="http://www.example.com/books?q=harry potter&start=10" rel="next"></link> <updated>2009-08-11T03:00:27.062Z</updated> <title type="text"> harry potter 相关的图书 </title> <os:startIndex xmlns ![]() <os:itemsPerPage xmlns ![]() <os:totalResults xmlns ![]() <entry> <title type="text"> Harry Potter </title> <id>urn:id:23-27</id> <updated>2009-07-09T11:01:26.000Z</updated> <category term="harry potter"></category> <category term="best seller"></category> <category term="book"></category> <category term="Hyper Service"></category> <content type="application/xml" xmlns= ’ http://www.example.com/books ’ > <book category="CHILDREN"> <title lang="en">Harry Potter</title> <author>J K. Rowling</author> <year>2005</year> <price>31.99</price> </book> </content> </entry> … </feed> |
1 2 3 4 5 6 7 8 9 10 11 | <members page="1" pages="1" perpage="100" total="33"> <member nsid="123456@N01" username="foo" iconserver="1" iconfarm="1" membertype="2"/> <member nsid="118210@N07" username="kewlchops666" iconserver="0" iconfarm="0" membertype="4"/> <member nsid="119377@N07" username="Alpha Shanan" iconserver="0" iconfarm="0" membertype="2"/> <member nsid="67783977@N00" username="fakedunstanp1" iconserver="1003" iconfarm="2" membertype="3"/> ... </members> |
1 2 | http://api.flickr.com/services/rest/? method=flickr.people.getInfo?auth_key=xxxx&user_id=119377@N07 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | <members page="1" pages="1" perpage="100" total="33"> <member href=" http://api.flickr.com/services/rest/? method=flickr.people.getInfo?auth_key=xxxx&user_id=123456@N01" username="foo" iconserver="1" iconfarm="1" membertype="2"/> <member href=" http://api.flickr.com/services/rest/? method=flickr.people.getInfo?auth_key=xxxx&user_id=118210@N07" username="kewlchops666" iconserver="0" iconfarm="0" membertype="4"/> <member href=" http://api.flickr.com/services/rest/? method=flickr.people.getInfo?auth_key=xxxx&user_id=119377@N07" username="Alpha Shanan" iconserver="0" iconfarm="0" membertype="2"/> <member href=" http://api.flickr.com/services/rest/? method=flickr.people.getInfo?auth_key=xxxx&user_id=67783977@N00" username="fakedunstanp1" iconserver="1003" iconfarm="2" membertype="3"/> ... </members> |
欢迎光临 电子技术论坛_中国专业的电子工程师学习交流社区-中电网技术论坛 (http://bbs.eccn.com/) | Powered by Discuz! 7.0.0 |