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
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
最 近 文 章
- swift - Mon, 30 Nov -0001 00:00:00 +0000
- json_encode出错 Invalid UTF-8 sequence in argument - Mon, 30 Nov -0001 00:00:00 +0000
- Javascript循环的优先级 - Mon, 30 Nov -0001 00:00:00 +0000
- editplus 配置 yui 压缩 - Mon, 30 Nov -0001 00:00:00 +0000
- 关注的JS代码库 - Mon, 30 Nov -0001 00:00:00 +0000
- svn 出错:Directory is missing - Mon, 30 Nov -0001 00:00:00 +0000
- Unit Test - Mon, 30 Nov -0001 00:00:00 +0000
- PHPDoc - Mon, 30 Nov -0001 00:00:00 +0000
- yii框架快速入门 - Mon, 30 Nov -0001 00:00:00 +0000
- IE下前端开发之痛的根源 - Mon, 30 Nov -0001 00:00:00 +0000