httpie with headers code example
Example 1: install httpie linux
# Debian, Ubuntu, etc.
sudo apt install httpie
# Fedora
dnf install httpie
# CentOS, RHEL, ...
yum install httpie
# Arch Linux
pacman -S httpie
Example 2: post with httpie
echo '{"example": "exampleData"}' | http POST https://addressToPost.com/post
// OR
http POST https://addressToPost.com/post example=exampleData
// Both work the same way