Laravel - Guzzle Request / cURL error 6: Could not resolve host

前端 未结 4 1523
隐瞒了意图╮
隐瞒了意图╮ 2021-01-20 22:50

I try to make an API Request to the Github API just for testing. I installed the latest Guzzle Version ( \"guzzle/guzzle\": \"^3.9\" ) on my Laravel 5.1 APP. In my routes

4条回答
  •  长发绾君心
    2021-01-20 23:42

    Thanks to Paratron https://github.com/googleapis/google-api-php-client/issues/1184#issuecomment-355295789 In my case, on cakephp 3.8 & docker 19.03.5, I was facing curl error due to some network issue. I restarted my cake-server docker container, & it worked like a charm.

提交回复
热议问题