fix temperature parameter in http api

Right now 'temperature' in request changes a wrong parameter, which could confuse a lot of people.