The simplest use of curl for a POST request is with the -d or --data flag followed by the data to be sent. This sends an HTTP POST request with the specified data to the provided URL:
curl -d "param1=value1¶m2=value2" -X POST http://localhost:3000/data
-X POST explicitly specifies a POST request, but it's optional when using -d or --data since curl defaults to POST when data is provided.