-
A guide for adding JWT token-based authentication to Your Serverless Application
One way to secure your serverless application is to implement token-based authentication, which helps to ensure that only authorized users can access your app
-
Creating and Validating JSON Web Tokens (JWT) in Node.js
In this blog article, we covered what a JSONWeb Token (JWT) is, how to create a JWT, and how to verify a JWT.
-
REST API Architecture 101
The API architecture is made up of four different layers: the Interaction Layer, Integrational Layer, Application Layer, and Information Management Layer (databases).
-
5 Differences Between REST & SOAP
REST and SOAP are different ways of transmitting data between two different systems via an API. REST is a set of architectural principles. SOAP is a protocol maintained by the World Wide Web Consortium.
-
7 Common API Development Terms
When building and maintaining APIs there are a lot of different terminology that you need to be aware of. This isn’t a complete list, but it’s enough to make you dangerous.
-
Creating a Custom Salesforce REST API Endpoint
Apex classes and methods can be exposed to external applications as REST based endpoints. This means that there’s a very easy way to have an external application make a direct call into Salesforce to do a specific action.
-
How should a REST Endpoint Handle No Results?
Handling no results in a collection endpoint and at a singular resource can be a bit of a tricky situation.
-
Do REST API Standards Exist?
With REST there’s no standard, but there are some standards associated with REST such as oAuth and OpenAPI.
-
How to Optimize an API
Optimization can mean a lot of things like simplifying a process, reducing data and even speeding up response time. An API often has three different ways we can optimize it.
-
Should you send payload in an HTTP GET request?
HTTP defines a set of different request methods. There are request methods like GET, POST, PUT, DELETE, and others. Because it’s allowed doesn’t mean it’s right though.
-
Implementing Paging in a REST API
When large lists of records are exposed through an API, we need a mechanism to control how many records are returned. In the article, we explore the three main methods of paging.
-
Sorting in a REST API
Sorting is determining the order of items when a list of items is returned from a particular endpoint. The best practice is to really keep things simple and consistent.
-
API Parameter Types
The parameters and the way the parameters are transmitted can be different in each implementation. API parameters can be split into four different groups
-
Designing APIs by Contract
Designing by software is a contract – like a legal or business contract. When we design software by contract it means we are designing against a specific specification for each software component.
-
Is the REST API dead?
The REST API will be alive for many years to come because many companies set up integrations and forget about them until there’s a problem. It is still one of the dominant types of application integrations: REST API, SOAP, and more recently GraphQL.
-
What is HATEOAS?
HATEOAS stands for Hypertext As The Engine of Application State. The theory is that by embedding enough information in our API responses it will be easier to use the API without needing to consult documentation.
-
5 Common REST API Challenges
When designing a REST API we need to really think of the different challenges that can occur. While many of these challenges are related to ignoring the REST API Constraints, there are definitely other issues that will pop up as you work.
-
7 Tips for Designing Secure REST APIs
Security is essential for REST APIs because our organizations depend on them.
-
Why you shouldn’t use GraphQL
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.