Chapter 7. Serving and receiving assets and forms
This chapter covers
- Serving static files such as those needed to view a website
- Handling HTML forms, including file uploads
- Working with raw multipart messages
If you think about it, the original web service was serving files. This is what was first created back in 1991 when the web began. The interaction we enjoy today wasn’t there at the beginning. When interaction came, it did so through web forms. These constructs, created decades ago, are still synonymous with the modern web and foundational to modern web applications.
This chapter starts by presenting methods to serve static files for your Go application. Because Go is a web server, rather than running behind a web server such as ...
Get Go in Practice now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.