5 Tips for Better Caching in a REST API
The goal of caching is to avoid having to generate the same response twice.
In this blog article we look at five techniques for caching in a RESTful api.
The goal of caching is to avoid having to generate the same response twice.
In this blog article we look at five techniques for caching in a RESTful api.
A REST API is a type of API that confirms to the RESTful constraints. REST is designed to take advantage of existing protocols like HTTP.
HTTP Status Codes and HTTP Methods are the building blocks of building a good RESTful API.
REST or REpresentational State Transfer is an API architecture style that uses a uniform interface.
For an API to be RESTful there are six rules that it needs to follow.
APIs come in many different styles and types. Before running into a style we need to understand the different options and the trade offs that we are making.
GraphQL is gaining traction in the software development world because it offers an alternative to the traditional REST architecture.
Here’s why I don’t think it’s ready for common use.
Over the years, I have been really blessed to work on a number of API developments and to be able to consume a lot of APIs as well whether the APIs were in finance, sales automation (salesforce), or other services. A lot of the APIs had really noticeable deficiencies which I feel really made using the API a lot more difficult than it had to be.
This blog article is really a look at years of experience with APIs and a first attempt to at trying to make them easier to use for the developer. It’s really important to take time upfront and design a great API because it has the potential to be a huge asset for the company, and also has the potential to also be the company’s greatest liability.
A public API will have to remain virtually the same basically forever, so you really only have one chance to get it right. This is because customers or other integrators typically won’t ever update. If your API doesn’t have versioning you’ll basically never be able to make breaking changes. As users use your API and as feedback is collected you should be evolving the API.…
As part of the HTTP protocol HTTP Status Codes are returned to allow software to easily identify what the problem is and what they should do in response.
API is an acronym for Application Programming Interface. An API is a way for two applications to talk to one another. I like to think of an API as a data pipe that connects two systems together. Probably most software and hardware you are using uses an API because the server has to talk to…