curl should run with -f