Discover api design best practices, include the articles, news, trends, analysis and practical advice about api design best practices on alibabacloud.com
This is a creation in
Article, where the information may have evolved or changed.
Statement
This article is just a summary of my personal reading materials and engineering practices, which may not be the best practice. But hopefully, some help will be given to readers who have doubts about restful API design and engineering practice.
Objective
The RESTful princip
"college", they may be more theoretical, but sometimes derail the real world (so I'm a liberal). So my goal in this article is to start from a practical point of view, give the current Web application of API design best practices (of course, I think the best ~), if it is not appropriate, I will not comply with the standard. Of course, as the basis of
1. BackgroundREST(English: Representational State Transfer Representational State transfer) describes a schema-style network system, such as a Web application.At present, the Internet is flooded with RESTful API articles about how to design (for convenience, " RESTful API shorthand for" API ), but there is no "universa
a liberal). So my goal in this article is to start from a practical point of view, give the current Web application of API design best practices (of course, I think the best ~), if it is not appropriate, I will not comply with the standard. Of course, as the basis of design, a few of the principles must be adhered to:
BackgroundThe internet is awash with articles about restful APIs (for convenience, the "RESTful API" shorthand for "API" below), but there is no "universal" design standard: How to do authentication? What is the API format? Should your API include version information? When y
Web APIs have become more and more popular in recent years, and the simplicity of API design has become particularly important in multi-backend system interaction applications. In general, RESTful APIs are used as our Web API. This article describes some of the best practices for designing simple RESTful APIs.A noun us
Best practices for open api application development and best practices for api application development
In the company's internal system, there will be some third-party Data Access scenarios, for example, in Ctrip's app, you can see iron's ticket, you can find the hotel where to go in the Meituan hotel list. This data i
SolrJ API official documentation best practices, solrj Best Practices
The following content is translated from the Solr Wiki official document. It is copyrighted and can be reproduced at will.
Solrj is a Java client that accesses solr. It provides a java interface for adding, updating, and querying solr indexes. This page introduces the latest version of Solr
Address: http://www.cnblogs.com/daxnet/archive/2012/04/16/2452660.html
Two years ago, I published a series of articles in my blog titled EntityFramework-driven design practices in the field, which also attracted the attention of many readers. After summing up the series of articles, this part of content has never been updated. Now, EntityStable version of the Framework (that is, the Stable version, not th
Prototype design practices and prototype practices
In the instructor management system project, start learning and use Axure for prototyping. Although Axure can be used for some simple interface design and interactive design, I still feel that what I have mastered is only a
Web APIs has become a very important topic in the last year. We at M-way Solutions is working every day with different backend systems and therefore we know about the importance of a Clean API design.Typically we use a RESTful design for our web APIs. The concept of REST is to separate the APIs structure into logical resources. There is used the HTTP methods GET, DELETE, POST and PUT to operate with the res
the credential information, which of course is not required and optional.2.4 API keyword (API key)Every request for an API contains a keyword that uniquely identifies the user.2.5 OAuth 1.X/2HTTP-based interactions and workflows that authorize the use of resources such as APIs, the Web, and so on.OAuth includes a step to authenticate indirectly, but does not ann
Ylbtech-jasper:api / API policies and best Practices
1. back to top
1. API Policies and best practicesCisco Jasper has established an API fair usage policy to ensure that all Control Center users have the best experience possible. Any client code that uses the Control Center
PHP-developed API multi-version management practices
This article focuses on mobile Internet clients that need to be compatible with the old version. force upgrade to the latest version of the app is not discussed here.
In the bugtags.com project, our version complies with the following specifications.1.0.1Major features, minor updates, bug fixesOur version list is as follows:
1.0, 1.1, 1.2, 1.3, 1.42.0,
simplicity, save the token in a global variable. Window.token =data. Token; Alert ("Login Successful"); } Else{alert ("Login failed:" +data. Message); } } }); }); //invokes an interface that obtains data from an API site that requires authentication. $ ("#invoke"). On ("click",function() {$.ajax ({URL:"Http://localhost:8056/
This accessory is a slide that I recently shared with the team about designing the HTTP API, combining this and some of the mistakes of our team history to summarize some of the best internal experiences.Brief introduction.This share focuses on the following sections:
Best practices for HTTP + JSON API
More focused on
*/ off_t D_off; /* not an offset; See NOTES */ unsigned short d_reclen; /* Length of this record */ unsigned char d_type; /* type of file; Not supported by all filesystem types */ char d_name[256];/* filename */};8.closedir: Close Directoryint Closedir (DIR *dirp);Example: simple ls program int main (int argc, char *argv[]) { if (argc 9.mkdirint mkdir (const char *pathname, mode_t mode);10.rmdir: Delete Emp
Python calls Sina Weibo API project practices, pythonapi
I recently came into use to call the Sina Weibo open interface, so I would like to try using python to call the Weibo API.
SDK: http://open.weibo.com/wiki/SDK code is not more than a dozen K, can fully understand.
If you have a Weibo account, you can create an APP and then obtain the app key and app secret.
API test Best Practices-AuthenticationApplicable class: Advanced1. OverviewAuthentication is typically defined as an activity that confirms the identity of a resource, in which the identity of the resource refers to the consumer of the API (or, in other words, the caller). Once a user's authentication has passed, he will be granted access to resources or APIs tha
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.