When making an HTTP request using the HttpClient, what type of object is returned?

  • Object
  • Observable
  • Promise
  • Response
When making an HTTP request using HttpClient, an Observable object is returned. Observables are used to handle asynchronous data streams and provide features like error handling and transformation, making them well-suited for managing HTTP responses.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *