I am running the following command

`xargs -n 1 -t <"/myfilewithURLs" curl -v -uuser:password -H'"'Header1: value1'"' -H'"'Accept: application/json'"' -H'"'Header 3: value3'"' {}`

The command I get output is

`curl -v -user:password -H"Header 1: value 1" -H"Accept: application/json" -H"Header 3: value 3" https://mycorrectURL`

When I copy and paste this command into the console I get the output but when I run the full xargs command I get:

`* Rebuilt URL to: value 1"/` and curl obviously fails as I do not want the header as the url. Removing the curly brackets has no effect.

I presume this is something to do with the quoting as it does not seem to recognise that -H is a header and adds it as part of the command, but I can't find any resources to diagnose it. Can anyone help?