Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

3
  • 1
    The double quotes are used by the command line, but are mandatory in json on the first name. Wrap all in a single quote or use a file. Commented Feb 23, 2022 at 0:02
  • I'd suggest using POSTman if you are not comfortable using curl or quoting JSON on the commandline Commented Feb 23, 2022 at 0:12
  • The sad reality as of PowerShell 7.2 is that an extra, manual layer of \ -escaping of embedded " characters is required in arguments passed to external programs. This may get fixed in a future version, which may require opt-in. See this answer to the linked duplicate for details. Commented Feb 23, 2022 at 2:13