Curl request with digest auth in PHP for download Bitbucket private repository

后端 未结 3 1386
天涯浪人
天涯浪人 2020-12-31 08:59

I\'m try to do this request on php, for download the last source from my Bitbucket private repository:

curl --digest --user user:pass https://bitbucket.org/u         


        
3条回答
  •  北海茫月
    2020-12-31 09:32

    I had a same problem; removed all the non-alphanumeric characters from the password and it worked! Don't know why though.

    I hope it helps.

提交回复
热议问题