Fixed /add_log hand in http api. Fixed http code responses on missed parameters.