Return bad request if no date param.
merge with develop