Skip to content

Brian Cline

Solution Architect skilled in Salesforce, NetSuite and JavaScript Development

  • About
  • Resume
  • JavaScript
  • Salesforce
  • Contact
  • Articles
  • About
  • Resume
  • JavaScript
  • Salesforce
  • Contact
  • Articles

Tag: rest api

A guide for adding JWT token-based authentication to Your Serverless Application

January 31, 2023Brian ClineJavaScript, ProgrammingAuthentication, javascript, rest api, software architecture

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

August 16, 2022Brian ClineJavaScript, Programmingapi, Authentication, JSON Web Token, JWT, rest api, restful api

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

July 11, 2022Brian ClineProgrammingapi, rest api, restful api, software architecture

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

July 7, 2022Brian ClineProgrammingapi, rest api, SOAP API

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

July 5, 2022Brian ClineProgrammingapi, rest api, restful api

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.

Salesforce Logo

Creating a Custom Salesforce REST API Endpoint

July 2, 2022Brian ClineProgramming, Salesforceapi, rest api, restful api, Salesforce, Salesforce API

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?

July 1, 2022Brian ClineProgrammingapi, rest api, restful api

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?

June 30, 2022Brian ClineProgrammingapi, rest api, restful api

With REST there’s no standard, but there are some standards associated with REST such as oAuth and OpenAPI.

How to Optimize an API

June 29, 2022Brian ClineProgrammingapi, caching, rest api, restful api, scaling

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?

June 24, 2022Brian ClineProgrammingapi, rest api, restful api

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

June 1, 2022Brian ClineProgrammingapi, pagination, 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

May 30, 2022Brian ClineProgrammingapi, rest api, restful 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

May 27, 2022Brian ClineProgrammingapi, http, http method, http status codes, rest api

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

May 22, 2022Brian ClineProgrammingapi, rest api, restful api, SOAP API, software architecture

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?

May 20, 2022Brian ClineProgrammingapi, rest api, restful api

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?

May 19, 2022Brian Cline1 CommentProgrammingapi, rest api, restful api

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

May 16, 2022Brian ClineProgrammingapi, rest api, restful api

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

May 14, 2022Brian ClineProgrammingapi, rest api, restful api, security, software architecture

Security is essential for REST APIs because our organizations depend on them.

Why you shouldn’t use GraphQL

January 28, 2020Brian ClineProgrammingapi, api development, graphql, rest api, restful api

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.

Developed by Think Up Themes Ltd. Powered by WordPress.