Fix order of http request type