Add method sendResource
Fix undefined http methods