HTTP requests containing a JSON body can be decoded using the functions int the internal/request package.