Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Arrow up icon
GO TO TOP
Modern REST API Development in Go

You're reading from   Modern REST API Development in Go Design performant, secure, and observable web APIs using Go's powerful standard library

Arrow left icon
Product type Paperback
Published in Aug 2025
Publisher Packt
ISBN-13 9781836205371
Length 294 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Jesús Espino Jesús Espino
Author Profile Icon Jesús Espino
Jesús Espino
Arrow right icon
View More author details
Toc

Table of Contents (18) Chapters Close

Preface 1. Introduction to APIs 2. Exploring REST APIs FREE CHAPTER 3. Building a REST Client 4. Designing Your REST API 5. Authentication and Authorization 6. Data Persistency 7. API Security 8. API Performance 9. Deploying Your API 10. Testing 11. Documenting with OpenAPI 12. Metrics, Logs, and Traces 13. Using GORM 14. Using the Echo Framework 15. Unlock Your Book’s Exclusive Benefits 16. Other Books You May Enjoy
17. Index

curl

curl is the Swiss Army knife of REST API testing. It can build any request you need with the headers and parameters you want, all in a compact and easy-to-use CLI. If you don’t have it installed on your system, you can use your system package manager or follow the instructions at https://curl.se/.

If you’re like me and prefer to interact with the command line, you’ll love curl (and you probably already know it). Not only that, but curl is used everywhere and is supported by a lot of applications, so it isn’t rare to have curl command-line examples in API documentation that provide support for extracting curl calls from places such as the Web Developers Tools of Firefox and Chrome in the Network tab, allowing you to reproduce network calls in your command line by copy and pasting.

In this section, we’ll explore using the curl command to send requests and get information such as headers in the response.

Getting information

The...

Visually different images
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Modern REST API Development in Go
You have been reading a chapter from
Modern REST API Development in Go
Published in: Aug 2025
Publisher: Packt
ISBN-13: 9781836205371
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime
Modal Close icon
Modal Close icon