Edusoho之Basic Authentication
通过如下代码,可以正常请求并获取对应的数据:curl -X POST -H "Accept:application/vnd.edusoho.v2+json" -H "Authorization: Basic dGVzdDJlZHVvc2hvOjEyMzQ1Ng==" http://demo.edusoho.com/api/tokens但是我想将其中的请求地址替换成我自己的域名,却不...