Task: Configure cURL to Output Only HTTP Response Body (JSON)
Task: Configure cURL to Output Only HTTP Response Body (JSON): a task in Terminal-Lego-15k (Harbor dataset). When using cURL in a bash script to fetch JSON responses from a web service, the output sometimes includes unwanted HTTP headers (like Set-Cookie , Content-Length , etc.) mixed with the…
The task
When using cURL in a bash script to fetch JSON responses from a web service, the output sometimes includes unwanted HTTP headers (like `Set-Cookie`, `Content-Length`, etc.) mixed with the actual JSON response body. This breaks JSON parsing logic.
Part of PrimeIntellect/Terminal-Lego-15k.