HTTP basics – PUT vs POST vs PATCH, what is the difference?

While designing our APIs, we often need to make a decision, which method do we’d like to choose to create a new resource on the server.

Will it be POST or PUT?

But hey, wait a minute, there’s still a PATCH method. Will it be suitable for this purpose?

In this short text, I’m going to go through all these methods and show you what are the best use cases for each of them.

Continue reading HTTP basics – PUT vs POST vs PATCH, what is the difference?

Safe methods in HTTP – what do you need to know about them?

In the previous text, we familiarize ourselves with the concept of the idempotent methods in HTTP.

Let’s talk about safe methods today. What does it mean? Does it have something to do with HTTPS? Well, not really 😉

Let me explain it. Continue reading Safe methods in HTTP – what do you need to know about them?

Idempotent methods in HTTP – what does it mean and why should we bother?

What are idempotent methods in the HTTP? Probably you’ve been asked this question on the interview, or maybe you see it for the first time.

No doubts, it’s a concept which you should know in order to create good and fault-tolerant  HTTP-based APIs.

In fact, idempotent methods in HTTP are not so complicated as their name may sound. So, let’s begin.

Continue reading Idempotent methods in HTTP – what does it mean and why should we bother?

HTTP basics – what do you need to know about it?

In this text, I’m going to cover all the basic information that every web developer should know about the most basic building block of the modern web, which is HTTP (in my humble opinion).

Due to its continuous popularity, I’m going to focus on HTTP/1.1 mostly.

Continue reading HTTP basics – what do you need to know about it?

Amazon EC2 in a nutshell [AWS Solutions Architect Associate Exam]

Amazon Elastic Compute Cloud (EC2) is the most popular computing service in AWS. It is very easy to use and lets you scale your cloud infrastructure on go.

Today I’m going to present the basic overview of that service.

So, let’s begin.

Continue reading Amazon EC2 in a nutshell [AWS Solutions Architect Associate Exam]

Amazon S3 in a nutshell [AWS Solutions Architect Associate Exam]

Amazon S3 service is probably the most commonly used service in the AWS cloud. Today I’m going to go through the basic information you’ll need to know about Amazon S3.

The format of the AWS Solutions Architect Associate Exam posts series is based on the notes I made during my preparation for the Solutions Associate exam.

The goal is to keep it simple in the form of bullet-points, easy for the quick review.

I hope you’ll find it valuable.

Continue reading Amazon S3 in a nutshell [AWS Solutions Architect Associate Exam]

Redirect e-mail on your domain quickly and free with ImprovMX and Route 53

Recently I’ve bought a domain via AWS Route 53. I wanted to set up incoming e-mails redirection from that domain into the existing e-mail server.

In this text, I’m going to show you how you can redirect your incoming e-mail messages with Route 53 for free.

Continue reading Redirect e-mail on your domain quickly and free with ImprovMX and Route 53

Things I learned from working remotely as a software developer

Unexpectedly, during the past weeks, remote work became a thing.

Because of coronavirus pandemic, more and more organizations started to apply precautions. If only it’s possible, companies worldwide started shifting their teams into remote work mode and sending their employees to home offices.

If you didn’t notice this remote work trend recently, take a look at that Google Trends data:

Probably this is not how remote revolution was supposed to look like.

But if you just begin to work remotely these days or just preparing yourself for it, I have few things to share with you.

As I’m working remotely for a while now, I decided to gather simple rules I follow in order to work from home in the most effective way.

Although I work as a software developer myself, the tips I described here are quite universal and you can use it for barely any type of remote work.

Of course, depending on the organization or the project, your own situation may vary.  But I hope you’ll find something useful for you here.

Continue reading Things I learned from working remotely as a software developer

Provide basic security for your Spring Boot application with Spring Security and Kotlin

When you’re creating your REST API, most of the time you don’t want it to be publically accessible. Moreover, sometimes you’d like to restrict certain paths for users with specific roles (for example administrators).

In this blog post, I’m going to provide very basic Spring Security integration for Spring Boot application written in Kotlin language.

Please note that I’m using the example REST API I provided in the previous article. So if you don’t have your Spring Boot REST API built yet, move through the steps I described there.

Continue reading Provide basic security for your Spring Boot application with Spring Security and Kotlin