Я выполняю приведенную ниже команду curl и получаю сообщение об ошибке:
curl -Method Post -Header @{'Content-Type'='application/x-www-form-urlencoded'}-Body @{grant_type = 'password';username = 'abcd';password = 'xyz'} "http://someaddress/api/oauth/token" -O test_curl
Не могли бы вы проверить, что я здесь не так делаю?
Ошибка:
Warning: built-in manual was disabled at build-time!
curl: option -Method: is unknown
curl: try 'curl --help' for more information