Added methods to request resource as HttpEntity