[Cialug] Including JSON with CURL call
Derek Etnyre
detnyre at mac.com
Tue Jan 14 23:57:29 UTC 2020
Thank you.
Sent from my iPad
> On Jan 14, 2020, at 5:26 PM, Jared Brees <fromj2sitsme at msn.com> wrote:
>
> I believe this depends on the shell. However, with my Ubuntu-bash, since all the double-quotes are inside the single set of single-quotes, no further escapement is needed.
>
>
>
> ________________________________
> From: Cialug <cialug-bounces at cialug.org> on behalf of Derek Etnyre <detnyre at mac.com>
> Sent: Tuesday, January 14, 2020 14:46
> To: cialug at cialug.org <cialug at cialug.org>
> Subject: [Cialug] Including JSON with CURL call
>
> When making a CURL post call from command line, can I specify json data like:
>
> -d ‘{“filePath”:”/temp/DerekTest.nitro-x”, “cleanIds”:false, “deploy”: true, “importData”:true}’
>
> Or do I need to delimit the quotes?
>
> Derek Etnyre
>
> _______________________________________________
> Cialug mailing list
> Cialug at cialug.org
> https://www.cialug.org/cgi-bin/mailman/listinfo/cialug
> _______________________________________________
> Cialug mailing list
> Cialug at cialug.org
> https://www.cialug.org/cgi-bin/mailman/listinfo/cialug
More information about the Cialug
mailing list