Answers for "fetch devto api with api key"

0

fetch devto api with api key

const articles = fetch("https://dev.to/api/articles/me", {
    headers: {
      "api-key": process.env.API_KEY,
    },
}).then((res) => res.json());
Posted by: Guest on April-22-2022
0

how to fetch devto api

const article = fetch(`https://dev.to/api/articles?username=${username}`).then((res) => res.json());
Posted by: Guest on April-22-2022

Code answers related to "Javascript"

Browse Popular Code Answers by Language