Answers for "how to get http request and store the response in a variable in angular"

0

how to get http request and store the response in a variable in angular

this.http.get("https://reqres.in/api/users/2").subscribe(data => {
  console.log(data);
  this.values = data;
}
Posted by: Guest on June-14-2021

Code answers related to "how to get http request and store the response in a variable in angular"

Code answers related to "Javascript"

Browse Popular Code Answers by Language