curl command example to post data
Example 1: curl pass data in request
curl -d "param1=value1¶m2=value2" -X POST http://localhost:3000/data
Example 2: how to send http post create request using curl command
$ curl --form "[email protected]" http://locahost:8080/weather