Explain curl code
Paste a curl command and Vibe explains what each flag does: what gets sent, which headers go with it, and what curl does with the reply.
Up to 1,500 characters (about 60 lines). Your code is sent to Unvibe and Anthropic to write the explanation. Don't paste keys or passwords. Common key formats are refused.
Vibe17 lines selected
Press Explain it for the sample, or paste your own code first.
What this curl sample shows
- -s and -f
-shides the progress bar, and-fmakes an HTTP error count as a failure. Against a page that answers 404,curl -sfprinted nothing and exited with code 22, so a script can stop there. Without-f, curl printed the error page,{"error":"not found"}, and exited with 0 as if it had worked.- --json and -H
--jsonsends its text as the body and adds the JSON headers: the test server saw a POST withContent-Type: application/json,Accept: application/jsonand the body{"item":"mug","qty":2}. Each-Hadds a header, and the server sawAuthorization: Bearerfollowed by the token from$ORDERS_TOKEN.- -L, -o and -w
/oldanswers with a 301 redirect. Without-L,-w "%{http_code}"printed301. With-L, curl followed it to/api/orders, saved that reply in orders.json and printed200.- -X and -i
-X DELETEchanges the method, and the server sawDELETE /api/orders/42.-iput the response headers above the body:HTTP/1.0 200 OK, theContent-Typeand theContent-Length.
Good to know
- Run with curl 8.21 against a test server on this machine that sends back what it received: no request left the machine.
-dalso sends a body, but as form data: with-d '{"item":"mug"}'the server sawContent-Type: application/x-www-form-urlencoded, not JSON. Adding-H "Content-Type: application/json"changed that, or use--json.-salso hides curl's own error message. With-sS, a 404 still printedcurl: (22) The requested URL returned error: 404.- Single quotes stop the shell from filling in a variable: with
-H 'Authorization: Bearer $ORDERS_TOKEN', the server got the words$ORDERS_TOKENinstead of the token.
Watch out: Quote any URL with & in it. Unquoted, curl -s http://localhost:8080/api/orders?status=open&limit=5 was split by the shell at the &: curl ran in the background and the server saw only /api/orders?status=open, with limit=5 gone.
Explain curl code beside your editor
Unvibe is a free app for Mac and Windows. In the app there is no pasting: select code in any app and press Control+U (Ctrl+Alt+U on Windows).
Install on Mac
curl -fsSL https://unvibe.site/install.sh | bashPaste into Terminal. Unvibe isn't notarized by Apple yet, so this is the smooth path.
Or download the .dmg · Intel Mac build · SHA-256 checksums
Opening the .dmg the first time
- Open the .dmg and drag Unvibe to Applications.
- Open it once; macOS says it can't verify it. Click Done.

Real screen, macOS 15 - System Settings › Privacy & Security › Open Anyway. Confirm, then enter your Mac password. The button shows for about an hour after you try to open Unvibe.

Real screen, macOS 15
The Terminal line checks the download against the published SHA-256 and Unvibe's self-signed signature before it installs anything. More help with the first open