Jesse Spears
225e800595
Bump getResponseExceptionMessage to GuzzleHttp version 5
2015-05-06 10:52:51 -07:00
Tobias Nyholm
3bb69d8cbe
* Updated composer.json to guzzle v5
...
* Don't allow HHVM to fail
* Updated RestClient to Guzzle5
* Removed php5.3 from travis.
* Bugfix and removed debug code
2015-05-05 18:19:10 -07:00
CupOfTea696
e1406e3936
Shows response message on 400, 401 and 404 errors
...
Adds the actual response message to the errors thrown on 400, 401 and
404 response codes. This provides a lot more useful info than the
current messages. The message doesn’t really give you much to go one. I
spent hours trying to find what I did wrong, double checking my API
keys and looking up the error on google.
2015-05-05 18:18:08 -07:00
Michael Crawford
5043a49969
*Fixed class docblock (mainly fixed so that travis-ci would trigger a build)
2014-11-20 12:52:37 -06:00
Michael Crawford
e1e2ed796f
Added php docblock comments and changed constants to use newly created constant classes
2014-11-20 12:12:06 -06:00
Travis Swientek
45ec0c8f3a
Merge branch 'master' of https://github.com/mailgun/mailgun-php into travis/merging
2014-11-19 14:31:03 -08:00
Travis Swientek
59299b7fbf
Merge branch 'master' of https://github.com/nathanntg/mailgun-php into nathanntg-master
...
Conflicts:
src/Mailgun/Connection/Exceptions/GenericHTTPError.php
2014-11-19 14:22:40 -08:00
Travis Swientek
0a62c7cbe1
Merge pull request #60 from jchamberlain/raw-response
...
Return non-JSON response data
2014-11-17 17:24:52 -08:00
Travis Swientek
f781158019
Removed legacy PHP closing braces
2014-10-06 15:53:33 -07:00
Joshua Chamberlain
c6346e80df
Return non-JSON response data
2014-09-15 16:01:24 -07:00
Nathan Perkins
5084053ec3
Preserve lack of line endings.
2014-06-16 10:48:56 -04:00
Nathan Perkins
ba8e7bda43
Throw more detailed generic HTTP error
...
Take advantage of new response code and body properties to allow better logging.
2014-06-16 10:40:18 -04:00
Nathan Perkins
9fe01151af
Add HTTP properties to generic error
...
Allows generic HTTP error to accept more detailed information about the response from the server.
2014-06-16 10:38:42 -04:00
Travis Swientek
8d23a5bb9f
This patch swaps the aggregator to "PHPAggregator" if files are included. Also added straight download.
2014-01-30 17:05:40 -08:00
Travis Swientek
d3a0d6aed9
Fixed Guzzle post/put field aggregation.
2014-01-14 00:45:34 +00:00
Travis Swientek
af53fd50ff
Ability to rename attachments and inline images.
2014-01-13 22:53:34 +00:00
Travis Swientek
72c10a5428
Added ability to disable SSL for testing against a Postbin or other endpoint.
2013-11-30 11:47:03 -08:00
yoye
c445c4d851
Fix typo in responseHandler
2013-09-05 15:34:17 +02:00
yoye
95cc29e56b
Fix typo in responseHandler
2013-09-05 15:26:42 +02:00
Travis Swientek
f8babb0541
Fixed an issue with Exception handling.
2013-08-21 09:45:11 -07:00
Travis Swientek
d88fb82c1d
ReadMe Adjustments and fixed an issue with result handler.
2013-08-20 11:10:57 -07:00
Travis Swientek
685a7351d5
Refactor. Covered refactor in tests.
2013-08-13 12:26:34 -07:00
Travis Swientek
1b3720a339
Removal of all classes. No OOP. :(
2013-08-07 17:41:14 -07:00
Travis Swientek
1ff4357810
Modified and renamed HTTPBroker to RestClient.
2013-08-07 16:22:19 -07:00
Travis Swientek
ee2a9aece8
Fixed HTTPBroker Response and README for Stats endpoint
2013-08-03 14:20:31 -07:00
Travis Swientek
4406b25d2b
Added 404 error handling and fixed HTTPBroker error handling
2013-08-02 17:07:16 -07:00
Travis Swientek
436bf9ab43
Fixed an issue with PUT handler
2013-08-02 16:43:46 -07:00
Travis Swientek
854711656c
Fixed an issue with HTTPBroker, Lists, Routes and Stats
2013-08-02 16:32:22 -07:00
Travis Swientek
7ef8533aab
Fixed GET Requests
2013-08-02 12:43:50 -07:00
Travis Swientek
4e43786949
Code cleanup!
2013-07-25 15:42:06 -07:00
Travis Swientek
b4b9f0ec40
Adjusted the HTTP client
2013-07-24 23:56:18 -07:00
Travis Swientek
762bfde571
Added multiple new endpoints and their respective tests!
2013-07-24 17:43:24 -07:00
Travis Swientek
f54649ac1e
"Refactor Complete!"
2013-07-24 16:25:24 -07:00
Travis Swientek
5befeb0f66
End of day commit
2013-07-23 17:34:50 -07:00