fix http method