December 7, 2023

Golang / Go Crash Course 01 | Building a REST API with Mux

In this article, it will show you how to create a simple REST API using Golang and Mux. Mux is a router that will allow us to handle the HTTP requests that we are going to receive in our API. We will have 2 REST APIs based on url “/posts”, with GET method to return the list of posts, with POST method to create new post.

Golang / Go Crash Course 01 | Building a REST API with Mux Read More