In this video we will use Go to build a fully functional JSON REST API, using the Mux package as the router. Full CRUD capabilities will be implemented, even including partial updates (PATCH requests).

Building HTTP APIs are important in the modern web development landscape.

This video will show you how to build a RESTful HTTP API step-by-step using the Go programming language, with a little help from the Gorilla Mux package (to handle routing).

You will learn how to handle JSON messages that are sent in HTTP requests and sending JSON in the HTTP responses, which involves encoding and decoding JSON.

You will also learn about HTTP Methods (also known as verbs) such as GET, POST, PUT, PATCH and DELETE.

You will also learn why we need dynamic route parameters and how to use them.

Code: https://github.com/Devstackr/go-mux-basic-http-api

#golang #rest #api #web-development

Build a RESTful HTTP API in Golang with Mux
28.15 GEEK