AsiaBSDCon 2017 Secure CGI

Trivial example introduction

Trivial example introduction

Mission

Design the simplest application to print Hello, World!. Disregard MIME types, HTTP methods, etc.

For anything more complicated, you'll want a library to manage the CGI or FastCGI protocol. I suggest kcgi(3), of course.