Commit Graph

28 Commits

Author SHA1 Message Date
wing328 9aca2868b9 change static method to instance method, update test case to remove php warning 2015-06-10 21:18:48 +08:00
wing328 7fd996bc86 update php sample 2015-06-09 13:31:14 +08:00
Tony Tam 64ea3f8177 rebuilt 2015-06-07 20:50:35 -07:00
Ron 96107193e9 updated reverb references 2015-06-07 11:18:49 -04:00
wing328 d0f9345c5a fix php map, add test case for get inventory 2015-06-05 21:57:12 +08:00
Tony Tam 34072faccd merged 2015-06-05 00:51:52 -07:00
wing328 7080983521 return exception instead of null for 404, add properties to api exception class 2015-06-02 17:25:38 +08:00
wing328 8d708c2442 add test case for default header 2015-05-31 11:17:59 +08:00
wing328 83d069d053 add support for obj, remove null from serialized json string 2015-05-31 09:49:24 +08:00
wing328 e993d08563 rename APIClient to ApiClient, APIClientException to APIException 2015-05-28 15:06:31 +08:00
wing328 4d1d163a73 update php template to debug curl 2015-05-26 23:52:35 +08:00
wing328 171bf969c7 add debug switch to configuration 2015-05-26 23:20:34 +08:00
Tony Tam 156afa7795 Merge pull request #778 from wing328/php_apiclient_instance
[PHP] Make API client more pluggable
2015-05-23 08:54:33 -07:00
wing328 691838c47d add test case for api client instance 2015-05-23 10:35:19 +08:00
William Cheng fa15f58506 fix warning/error in php5.3 2015-05-22 05:15:46 +08:00
Tony Tam c8a56add5d merged 2015-05-20 22:45:52 -07:00
wing328 4f310cd7b1 update function comment 2015-05-20 22:13:24 +08:00
wing328 6e13403a37 fix http basic auth, add test cases for new api client without host 2015-05-20 21:55:16 +08:00
wing328 9a1dedbe76 add test case (getPetbyId), remove old authenetication (only supports header) 2015-05-20 18:43:34 +08:00
wing328 20439e646f add test case and prefix support 2015-05-20 18:25:35 +08:00
wing328 06c7a6a109 add todo for oauth, support multiple api key 2015-05-20 17:13:52 +08:00
wing328 278a653154 add authentication 2015-05-20 17:13:52 +08:00
wing328 5744bd0138 better exception using InvalidArgumentException 2015-05-19 16:21:06 +08:00
wing328 af260cba41 update api client to support default header 2015-05-19 15:33:03 +08:00
wing328 41e178e268 better accept and content-type for php, added test cases 2015-05-18 22:16:54 +08:00
wing328 4466b6e15e add test case for upload file, improve error handling 2015-05-15 11:08:33 +08:00
wing328 7e37f3294a bug fix for post (model) and update php test cases 2015-04-17 20:01:58 +08:00
wing328 8512259d02 update method name based on style guide, update petstore sample 2015-04-17 00:26:06 +08:00