FamilySearch / fs-php-lite

Lite PHP SDK for the FamilySearch API
Apache License 2.0
3 stars 4 forks source link

FamilySearch infrastructure upgrades breaking cURL response parsing #8

Open andrewatwood opened 3 years ago

andrewatwood commented 3 years ago

Currently, this SDK is broken, due to infrastructure changes resulting in changed HTTP response format when making calls against all three FamilySearch environments.

The very specific regex used to parse these responses breaks, which in turn causes all methods that make an API request to throw PHP errors.

We use this SDK in production, so I've got a fix and I'll be filing a PR shortly to address these problems.

misbach commented 3 years ago

Great, thank you!