Using proper naming.
Added Content-Type handling.