curl命令中的-vu是什么

curl命令中的-vu是什么,curl,oauth-2.0,postman,Curl,Oauth 2.0,Postman,旋度-X后vu客户页:123456-H “接受:应用程序/json”-d “password=spring&username=roy&grant\u type=password&scope=read%20write&client\u secret=123456&client\u id=clientapp” 我们想在PostMan中执行上面的cURL命令。但是我们不知道把客户放在哪里pp:123456 提前感谢通常可以组合短选项,因此-vu与-v-u相同 man curl说: -v, --verb

旋度-X后vu客户页:123456-H “接受:应用程序/json”-d “password=spring&username=roy&grant\u type=password&scope=read%20write&client\u secret=123456&client\u id=clientapp”

我们想在PostMan中执行上面的cURL命令。但是我们不知道把客户放在哪里pp:123456


提前感谢

通常可以组合短选项,因此
-vu
-v-u
相同

man curl
说:

-v, --verbose
              Be  more  verbose/talkative during the operation. Useful for debugging and seeing what's going on "under the hood". A line starting with '>'
              means "header data" sent by curl, '<' means "header data" received by curl that is hidden in normal cases, and  a  line  starting  with  '*'
              means additional info provided by curl.
-u, --user <user:password>
              Specify the user name and password to use for server authentication. Overrides -n, --netrc and --netrc-optional.
-v,--verbose
在操作过程中更详细/更健谈。用于调试和查看“引擎盖下”发生的情况。以“>”开头的行

表示通过curl发送的“标题数据”,短选项通常可以组合,因此
-vu
-v-u
相同

man curl
说:

-v, --verbose
              Be  more  verbose/talkative during the operation. Useful for debugging and seeing what's going on "under the hood". A line starting with '>'
              means "header data" sent by curl, '<' means "header data" received by curl that is hidden in normal cases, and  a  line  starting  with  '*'
              means additional info provided by curl.
-u, --user <user:password>
              Specify the user name and password to use for server authentication. Overrides -n, --netrc and --netrc-optional.
-v,--verbose
在操作过程中更详细/更健谈。用于调试和查看“引擎盖下”发生的情况。以“>”开头的行

表示curl发送的“标题数据”虽然有点晚,但我想回答以下问题: 您需要通过基本身份验证将-vu值设置为用户名密码
虽然时间有点晚,但我想回答以下问题: 您需要通过基本身份验证将-vu值设置为用户名密码

谢谢!但是上面的clientapp:123456是什么@renemilk
clientapp
是用户名,
123456
是密码,以curl想要的格式指定:由
分隔:
这实际上在手册页中可见,在我的答案中,它在blockqoute的源代码视图中,但没有呈现出来……谢谢!但是上面的clientapp:123456是什么@renemilk
clientapp
是用户名,
123456
是密码,以curl想要的格式指定:由
分隔:
这实际上在手册页中可见,并且在我的答案中的blockqoute的源代码视图中,但没有呈现。。。