zed CLI option to send requests as ZSON
It’d be great if the zed CLI had some option that made it send all its requests with Content-Type of ZSON rather than the binary ZNG it does currently.
Right now when I’m trying to sniff out how some zed command is hitting the API, I need to isolate the payload in Wireshark and save it as raw binary so I can then use zq to turn the ZNG into something viewable. It’s not too bad but it slows things down.
I figure this would not only help with our ability to support the technology but would also be appreciated by users that are willing to sniff out the behavior of certain endpoints before we get around covering them in the formal lake API docs.
@mccanne notes we could also add ZNG support to Wireshark. 😄