Fix the header of the method that was triggering an invalid http Request