Skip to content

Latest commit

 

History

History

urlencoded-body-parsing

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Parse JSON body example

How to use

Download the example or clone the repo:

curl https://codeload.github.com/zeit/micro/tar.gz/master | tar -xz --strip=2 micro-master/examples/urlencoded-body-parsing
cd urlencoded-body-parsing

Install it and run:

npm install
npm run start

Deploy it to the cloud with now (download)

now

The idea behind the example

Shows how to get urlencoded (html form post) data posted to your microservice using async/await.