CURL przykład

curl http://adres_strony.pl/x.html

curl -X POST -H "Content-Type: application/json"
-d '{"name": "a", "email": "a@b.c"}' \
http://adres_strony.pl/y.php
GET /x.html HTTP/1.1
Host: http://adres_strony.pl
POST /y.php HTTP/1.1
Host: http://adres_strony.pl
Content-Type: application/json

{{"name": "a", "email": "a@b.c"}