cUrls's option “-u”

前端 未结 3 1623
深忆病人
深忆病人 2020-12-09 02:19

From cUrl docs:

-u, --user 

Specify the user name, password and optional login options to use for server authentication. Overri         


        
3条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-09 02:46

    There is an easier way to do. Do it this way

    curl "http://user:pass@www.example.com"

提交回复
热议问题