This is not GitHub.com

Like what you see? Install OctoLinker now!

Skip to content
Branch: master
Find file History
Latest commit c099757 Apr 24, 2018
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
README.md
index.js manual linting fixups Apr 24, 2018
package.json [WIP] Rewrite docs to include examples (#115) Feb 4, 2017

README.md

External API call 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/external-api-call
cd external-api-call

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 from an external api using async/await.

You can’t perform that action at this time.