Skip to content

Instantly share code, notes, and snippets.

[php]
$key = "319eaa43f768d57d";
$options = "output-format=crossway-xml-1.0&include-xml-declaration=true";
$url = "http://www.esvapi.org/v2/rest/readingPlanInfo?key=$key&reading-plan=bcp&output-format=crossway-xml-1.0";
$ch = curl_init($url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
$response = curl_exec($ch);
curl_close($ch);
var response = $response;