fetch get

    0

    15

    My JavaScript recipes

    Simple example of fetch with GET method

    Shortcut: request.get

    fetch('urlToFetch')
      .then(response => response.json())
      .then(data => console.log(data));
    Codiga Logo
    Codiga Hub
    • Rulesets
    • Explore
    • Cookbooks
    • Playground
    soc-2 icon

    We are SOC-2 Compliance Certified

    G2 high performer medal

    Codiga – All rights reserved 2022.