Refine http methods