Use its static 'get' method to obtain an HttpClient.
Uso su *static 'consigue' método para obtener un *HttpClient.
See the HttpClient documentation for help on modifying the code
Consulte la documentación de HttpClient para obtener ayuda sobre la modificación del código
The class HttpClient may give you some headaches if you do not know how it works internally.
La clase HttpClient te puede dar algunos dolores de cabeza si no conoces como funciona internamente.
Retrieving data from a web service using the new portable class library version of HttpClient
Recuperar datos desde un servicio web mediante el uso de la nueva versión de librería portátil de HttpClient.
But you have to use the HttpClient that is injected by the blazor framework as described here
Pero tiene que usar el HttpClient que es inyectado por el marco blazor como se describe aquí
The default mime-type used when sending requests has changed in HttpClient.
HttpClient El tipo mime por defecto usado para enviar peticiones ha cambiado.
You'll be using the HttpClient module to make API calls.
Estarás usando el módulo HttpClient para hacer llamadas de API.
Some time ago I read an article where, in a nutshell, cut you your fingers if you were using an HttpClient as if it were a DataBase connection.
Hace un tiempo leí un artículo donde, en pocas palabras, te cortaban los dedos si utilizabas una HttpClient como si fuese una DataBase connection.
In order to use the HttpClient module in your Angular application, you need to import it first in your app.module.ts file.
Para poder usar el módulo HttpClient en tu aplicación Angular, necesitas importarla primero en tu archivo app.module.ts.
Consume Web API services by using HttpClient synchronously and asynchronously, send and receive requests in different formats (JSON, HTML and others)
Consumir servicios de la API web mediante el uso de HttpClient de forma sincrónica y asincrónica, enviar y recibir solicitudes en diferentes formatos (JSON, HTML y otros)
Additional benefits of HttpClient include testability support, strong typing of request and response objects, request and response interceptor support, and better error handling via apis based on Observables.
Los beneficios adicionales de HttpClient incluyen soporte para pruebas, tipado fuerte de objetos de petición y respuesta, y mejor manejo de errores vía apis basadas en Observables. Comenzando
This tutorial covers an example of a Java adapter that connects to an RSS feed by using a Java HttpClient.
Esta guía de aprendizaje muestra un ejemplo de un adaptador Java que se conecta a un canal de información RSS utilizando HttpClient de Java.
Angular HttpClient provides a wrapper for the XHR object, making it easier to make API calls from the Angular application.
El HttpClient de angular proporciona un envoltorio para el objeto XHR, haciendo más sencillo hacer llamadas API desde la aplicación Angular.
Conținut posibil inadecvat
Exemplele au rolul de a te ajuta să traduci cuvinte sau expresii corect si adaptat la context. Nu sunt selectate sau validate manual, așadar pot conține termeni inadecvați. Te rugăm să raportezi exemplele pe care le consideri inadecvate. Traducerile vulgare sau colocviale sunt în general marcate cu roșu sau cu portocaliu.
Înregistrează-te pentru a accesa mai multe exemple