Accueil‎ > ‎

Curl POST on Windows (with JSON request)

posted 14 Nov 2018, 01:41 by Christophe Noël
Most of curl versions fail on Windows to Post  JSON data, two simple workaround:

1. If Git is installed, use the bash command to open a linux emulated bash. Then simply use the unix curl command. Very easy !
2. Second solution: put the json in a file, and refer the file in the command line using @filepath/