
Yes, it can be anything because HTTP has 3 parts really... first line, headers, and body. But, I'm tired of doing it again and again. Also, multiple parts and multiple encoding methods are hassle to keep track. On 2025-01-31 12:11, Lennart Sorensen wrote:
On Fri, Jan 31, 2025 at 01:07:18AM -0500, William Park via talk wrote:
Hi all,
To build HTTP request, you use 'curl'.
After you get HTTP response, what utility do you use to extract stuffs you want? JSON format has 'jq', and XML format has 'xmlstarlet'. I'm looking for something like that but for HTTP format.
Couldn't it be just about anything? After all you can transfer lots of file formats using http and it would depend on the content type what tool makes sense to perse the response.