1
0
Fork 0
forked from fun/fun
fun/web/documentation/examples/data/htdocs/form_post.md

43 lines
938 B
Markdown
Raw Normal View History

---
layout: page
published: true
noToc: true
noComments: false
noDate: false
title: Fun - form_post.fun (CGI)
subtitle: Documentation for form_post.fun (CGI)
description: Documentation for form_post.fun (CGI)
permalink: /documentation/examples/data/htdocumentation/form_post/
lang: en
tags:
- documentation
- handbook
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
---
# form_post.fun (CGI)
- Location: examples/data/htdocumentation/form_post.fun
- Category: CGI script used by HTTP server examples
Description
- Demonstrates handling of POST form data via the CGI interface.
How to run
- Through one of the HTTP server examples, e.g.:
- export FUN_LIB_DIR="./lib"
- export FUN_EXEC="./build_debug/fun"
- ./build_debug/fun examples/net/http_server_cgi.fun
- Submit a form to: http://127.0.0.1:8080/form_post.fun
See also
- documentation/examples/httpserver.md (deep-dive)