I have an API I want to invoke that wants something like this to be POSTed in the body: ["foo","bar"]
I have read the official docs and can't see how to do this, is it possible?
I have tried: http --verbose PUT foo.org :='["foo","bar"]'
but HTTPie still wants to turn that into a field of a JSON object, with no name, as in:
{
"": [
"foo",
"bar"
]
}