This is not GitHub.com

Like what you see? Install OctoLinker now!

Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
README.md
index.js
package.json

README.md

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/json-body-parsing
cd json-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 data posted to your microservice using async/await.

You can’t perform that action at this time.