I can't translate a terminal command to System.cmd/3

As noted in this thread from last week:

~w() will not do what you want if arguments have spaces in them:

~w(-H "Content-Type: application/json")

is a list with three elements:

["-H", "\"Content-Type:", "application/json\""]
2 Likes