Updated curl call to set content type to application/json