cURL error 3: <url> malformed (see http://curl.haxx.se/libcurl/c/libcurl-errors.html)
在使用 API Authentication (Passport) 时报了个小错:
GuzzleHttp \ Exception \ RequestException
cURL error 3: <url> malformed (see http://curl.haxx.se/libcurl/c/libcurl-errors.html)
折腾了半天,才确定原因:使用 GuzzleHttp\Client 请求时的 uri 不能使用相对路径,必须使用绝对路径。
推荐文章: