pass parameters to url fetch request javascript – Jquery ajax
Hello i'm trying to make a get request in react with JQuery i used to do something like this $.get("Run",{ pr: "takeData", name: "Bob"}, function (o) { console.log(o) }); i tried doing something like this fetch("https://localhost:44347/Run?{ pr:"takeData", name:"Bob" }) .then(…