how to pass curl post data code example Example: curl pass data in request curl -d "param1=value1¶m2=value2" -X POST http://localhost:3000/data