RESTful Behaviour Guide

RESTful Behaviour Guide

I’ve used a lot of existing Representational State Transfer (REST) APIs and have created several of my own. I see a lot of inconsistency, not just between REST APIs but often within a single REST API. I think most developers understand, at a high level, what a REST API is for and how it should work, but lack a detailed understanding. I think the first thing they forget to consider is that REST APIs allow you to identify and manipulate resources on the web.

Here I want to look briefly at what a REST API is and offer some advice on how to structure one, how it should behave and what should be considered when building it. I know this isn’t emacs vs vi, but it can be quite contentious. So, as? Barbossa from Pirates of the Caribbean said, this “...is more what you’d call ‘guidelines’ than actual rules.”

Read more.

要查看或添加评论,请登录

Paul ?? Grenyer的更多文章

社区洞察

其他会员也浏览了