how to send action using simple curl