Skip to content

Latest commit

 

History

History
21 lines (14 loc) · 428 Bytes

README.md

File metadata and controls

21 lines (14 loc) · 428 Bytes

External API call example

How to use

Download the example or clone the repo:

curl https://codeload.github.com/vercel/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

The idea behind the example

Shows how to get data from an external api using async/await.