Comments (2)
Hi Stephen,
I don't want to pollute mentioned methods signature, the Helpers::createDefaultClient()
is only handy factory. You can pass cURL options via CurlClient
constructor.
$httpClient = new Milo\Github\Http\CurlClient([CURLOPT_SSL_VERIFYPEER => 0]);
$api = new Milo\Github\Api($httpClient);
from github-api.
Thanks. This works for me.
from github-api.
Related Issues (20)
- Is PHP dependency ">=5.4.0" mandatory? HOT 2
- Api::decode() fails when parsing result of Request::HEAD request HOT 5
- SSL: invalid CA certificate #1 (offset 0) in bundle HOT 4
- Undefined property: stdClass::$errors HOT 2
- Fatal error: Class 'Login' not found HOT 20
- Personal Access Tokens HOT 2
- oAuth fails at second time HOT 2
- watchers count wrong? HOT 8
- PSR4 compliant
- param replacement no separated by '/' error HOT 2
- Heads up: Stricter validation coming soon on the add/update org membership API endpoint HOT 2
- Watchers wrong, how to get real? HOT 1
- Suggestion: Include `subscribers_count` in repository list at `/users/:user/repos`. HOT 1
- facebook.com/jeanne.garneski
- <>
- Getting error "'SSL certificate problem: unable to get local issuer certificate'" HOT 2
- SSL certificate problem: unable to get local issuer certificate HOT 1
- Support for full URLs in get(), post() etc. - desired feature? HOT 6
- Error processing 422 response codes HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from github-api.