Change /new to /task and /delete to /task; let the request type handle the “actions”.
/new
/task
/delete