...
Los headers los incluiremos en un objeto HttpEntity, junto con el objeto a pasar (el body) si se pasa alguno:
| Bloque de código | ||
|---|---|---|
| ||
// HttpEntity final HttpEntity<String> httpEntity = new HttpEntity<>( objeto, headers ); |
...
...
Los headers los incluiremos en un objeto HttpEntity, junto con el objeto a pasar (el body) si se pasa alguno:
| Bloque de código | ||
|---|---|---|
| ||
// HttpEntity final HttpEntity<String> httpEntity = new HttpEntity<>( objeto, headers ); |
...