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