Corrected http method return