Each distinct argument to the command MUST be a distinct entry in the list. Unlike a shell, we do not try to tokenize the argument strings. The quoting rules become far too complicated. So there is no “right combination of quotes and double quotes” to do this.
Many tools allow an = in flags, so you might be able to say:
Note that the embedded quotes will be preserved. There’s an implied quoting (as long as it tastes like a string, caution), so - --foo="bar" is really - "--foo=\"bar\"". You may want to be explicit and put those outer quotes yourself.
Thank you for the tips! I’ll give that a try. Thank you also for explaining why the things I’ve tried has been failing. It makes much more sense now. I never knew that that’s what the shell is doing underneath the hood. Thanks again
Thank you again for the suggestion. Unfortunately, curl does not accept the = in the flag so I guess I’ll try this out another time. Thanks again for your time and help