POST JSON with curl

Terminal
curl -X POST <url> -H "Content-Type: application/json" -d '{"key":"value"}'