Use correct json data during POST request

Signed-off-by: Prashant Shah <pshah.me@gmail.com>
Rename end_date to due_date

Signed-off-by: Prashant Shah <pshah.me@gmail.com>