usechainlinkfunctions icon indicating copy to clipboard operation
usechainlinkfunctions copied to clipboard

Create cat-fact.md

Open sophon314 opened this issue 1 year ago • 1 comments
trafficstars

title: "Learn a new cat fact" summary: "This Function returns a random fact about cats from catfact.ninja" date: "2024-04-15" author: name: Junaid link: https://github.com/sophon314

// Set the URL const config = { url: "https://catfact.ninja/fact", };

//Get the response const response = await Functions.makeHttpRequest(config);

// Send the repsonse upstairs return Functions.encodeString(response.data.fact);

sophon314 avatar Apr 14 '24 23:04 sophon314

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
usechainlinkfunctions ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 14, 2024 11:46pm

vercel[bot] avatar Apr 14 '24 23:04 vercel[bot]