A tutorial by Unixcop explains how to use cURL on Ubuntu and Debian to send a POST request.
How to make a POST request using cURL on Ubuntu / Debian
The cURL command is a real Swiss army knife for network connections in the terminal. In this post, you will learn how to make a POST request with cURL. This way you will be able to quickly do some data sending tests.
How to make a POST request using cURL on Ubuntu / Debian - Unix / Linux the admins Tutorials