email-test

node v10.24.1
version: 1.0.0
endpointsharetweet
var axios = require("axios"); exports.endpoint = function(req,res){ axios.get(`https://pk0jv7oowj.sse.codesandbox.io/api?email=a@a.com`) .then(function (response) { console.log(response.data.email,response.data.exist); res.jsonp({email: response.data.email, exist: response.data.exist}); }) .catch(function (error) { console.log(error); }); }
Loading…

no comments

    sign in to comment