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