curlWrapperTest::getMatchingJson
Protect against faulty redirects from server and find out if response is json.
Signature
private function getMatchingJson(
$contentType,
$content )
Parameters
$contentType
—$content
—
Returns
- bool