Skip to Main Content
The Go Workshop
book

The Go Workshop

by Delio D'Anna, Andrew Hayes, Sam Hennessy, Jeremy Leasor, Gobin Sougrakpam, Dániel Szabó, Philipp Mieden, David Parker, Gwenn Etourneau, Arpit Aggarwal, Eugene Wang
December 2019
Beginner content levelBeginner
824 pages
14h 36m
English
Packt Publishing
Content preview from The Go Workshop

15. HTTP Servers

Overview

This chapter introduces you to different ways of creating an HTTP server in order to accept requests from the internet. You will be able to understand how a website can be accessed and how it can respond to a form. You will also learn how to respond to requests from another software program.

You'll be able to create an HTTP server rendering a simple message. You will learn how to create an HTTP server rendering complex data structures which serves local static files. Further you will create an HTTP server rendering dynamic pages and work with different ways of routing. By the end of this chapter you will also learn to create a REST service, accept data through a form, and accept JSON data.

Introduction

In the ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Writing, Presenting, and Communicating with Confidence

Writing, Presenting, and Communicating with Confidence

Harvard Business Review
Become a Better Problem Solver by Telling Better Stories

Become a Better Problem Solver by Telling Better Stories

Arnaud Chevallier, Albrecht Enders, Jean-Louis Barsoux

Publisher Resources

ISBN: 9781838647940Supplemental Content