“Positional Parameter” error when posting data with cURL

前端 未结 2 498
挽巷
挽巷 2021-02-05 16:29

If I were to issue the command without the --data \"...\", it works just fine. I\'ve tried Google and I can\'t find any answers to this problem. Following the direc

2条回答
  •  北海茫月
    2021-02-05 17:25

    Your problem is answered here: Running cURL on 64 bit Windows

    You're not running curl you're running something called Invoke-WebRequest, which is aliased to curl. You need to unalias curl, download and install curl (if you haven't already).

提交回复
热议问题