- 14 Sep, 2014 1 commit
-
-
Yuan Chong authored
Hello, I used **Yii2 authclient** to build a Github OAuth (2.0) client, and performed a POST call to create a Github repository hook. But I got this exception: ``` exception 'yii\authclient\InvalidResponseException' with message ' Request failed with code: 201, message: { "url": "https://api.github.com/repos/ychongsaytc/example/hooks/1000000", "test_url": "https://api.github.com/repos/ychongsaytc/example/hooks/1000000/test", "id": 1000000, "name": "web", "active": true, "events": ["push"], "config": { "url": "https://example.com/payload", "content_type": "form", "secret": null }, "last_response": { "code": null, "status": "unused", "message": null }, "updated_at": "2014-09-14T03:02:55Z", "created_at": "2014-09-14T03:02:55Z" } ' in /home/ubuntu/public_html/live/vendor/yiisoft/yii2-authclient/BaseOAuth.php:206 ``` I think a successful API call is not always exactly return **200** status, like **Create a hook** API of Github: https://developer.github.com/v3/repos/hooks/ It will return `201 Created` if hook was successfully created. In my opinion, is status code starts with **20** in normal scenario? close #5011
-
- 31 Jul, 2014 1 commit
-
-
RichWeber authored
-
- 29 Jul, 2014 1 commit
-
-
Carsten Brandt authored
-
- 11 Jul, 2014 3 commits
-
-
Klimov Paul authored
-
Klimov Paul authored
-
Klimov Paul authored
-
- 25 May, 2014 1 commit
-
-
Carsten Brandt authored
-
- 26 Apr, 2014 1 commit
-
-
Carsten Brandt authored
-
- 23 Apr, 2014 1 commit
-
-
Carsten Brandt authored
-
- 26 Mar, 2014 1 commit
-
-
Kartik Visweswaran authored
Correct classname to `BaseOAuth` instead of `BaseClient` in PHP Doc.
-
- 24 Mar, 2014 1 commit
-
-
Carsten Brandt authored
-
- 16 Mar, 2014 1 commit
-
-
SonicGD authored
-
- 19 Jan, 2014 1 commit
-
-
Luciano Baraglia authored
-
- 11 Jan, 2014 1 commit
-
-
Qiang Xue authored
-
- 30 Dec, 2013 1 commit
-
-
Qiang Xue authored
-
- 23 Dec, 2013 3 commits
-
-
Paul Klimov authored
-
Paul Klimov authored
-
Paul Klimov authored
-
- 16 Dec, 2013 1 commit
-
-
Paul Klimov authored
"yii\authclient\ClientInterface" applied.
-
- 11 Dec, 2013 1 commit
-
-
Paul Klimov authored
-
- 10 Dec, 2013 1 commit
-
-
Paul Klimov authored
-