Loving Coding & Visual Design

关于RESTful API

RESTful API looks like this:

url HTTP Method Operation
/api/books GET Get an array of all books
/api/books/:id GET Get the book with id of :id
/api/books POST Add a new book and return the book with an id attribute added
/api/books/:id PUT Update the book with id of :id
/api/books/:id DELETE Delete the book with id of :id



下一页


最 近 文 章

  1. swift - Mon, 30 Nov -0001 00:00:00 +0000
  2. json_encode出错 Invalid UTF-8 sequence in argument - Mon, 30 Nov -0001 00:00:00 +0000
  3. Javascript循环的优先级 - Mon, 30 Nov -0001 00:00:00 +0000
  4. editplus 配置 yui 压缩 - Mon, 30 Nov -0001 00:00:00 +0000
  5. 关注的JS代码库 - Mon, 30 Nov -0001 00:00:00 +0000
  6. svn 出错:Directory is missing - Mon, 30 Nov -0001 00:00:00 +0000
  7. Unit Test - Mon, 30 Nov -0001 00:00:00 +0000
  8. PHPDoc - Mon, 30 Nov -0001 00:00:00 +0000
  9. yii框架快速入门 - Mon, 30 Nov -0001 00:00:00 +0000
  10. IE下前端开发之痛的根源 - Mon, 30 Nov -0001 00:00:00 +0000