Skip to content

Files

Latest commit

Jul 4, 2019
d27f5a6 · Jul 4, 2019

History

History
This branch is 191 commits ahead of asbubam/examples:master.

form

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Jul 4, 2019
Jul 4, 2019
Feb 4, 2019

Form

This rudimentary example demonstrates how to access a form and multipart form when writing API services

Contents

  • web - is the web front end with the form
  • api - is the api service

Usage

Run the micro api

micro api --handler=api

Run the micro web

micro web

Run the api service

go run api/main.go

Run the web service

go run web/main.go

Browse to localhost:8082/form