nms.sh add usage and curl function to send POST to server

Signed-off-by: winton.liu <newtonliuwen@gmail.com>