fix "send" API action

Signed-off-by: Yury Kaliada <fut.wrk@gmail.com>