Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
const axios = require('axios');
module.exports.handler = async (event, context, callback) => {
// Asynchronous HTTP GET
// In real projects, you want to add some error handling here.
const res = await axios.get(',-97.0892');
const response = {
statusCode: 200,
body: JSON.stringify(,
callback(null, response);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.