[Webサイト制作] REST APIデザインのベストプラクティス

– Use HTTP VERBS to determine action to be taken
– API Versioning
– Use plurals to describe resources
– Use query strings to build relations
– Partial responses
– Response Codes and Error Handling
– Limit the number of request in a given time period from the same IP Address
– Consider Banning requests based on IP Address
– Use json as the default
– Use OAuth latest version for authentication
– Cache GET results for less frequently changing data

10 REST API Design Best Practices That Will Make Developers Love


メールアドレスが公開されることはありません。 * が付いている欄は必須項目です