Hacker News new | ask | show | jobs
by alexjm 439 days ago
You might want to add the --http0.9 flag to curl, to tell it that getting a response of just "ok" (HTTP 0.9 style, body only without headers) isn't an error.